File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Include/Atom/RPI.Public/Material
Source/RPI.Public/Material Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,8 @@ namespace AZ
131
131
// ! Do not set this in the shipping runtime unless you know what you are doing.
132
132
void SetPsoHandlingOverride (MaterialPropertyPsoHandling psoHandlingOverride);
133
133
134
+ Data::Instance<RPI::ShaderResourceGroup> GetShaderResourceGroup ();
135
+
134
136
const RHI::ShaderResourceGroup* GetRHIShaderResourceGroup () const ;
135
137
136
138
const Data::Asset<MaterialAsset>& GetAsset () const ;
Original file line number Diff line number Diff line change @@ -857,5 +857,9 @@ namespace AZ
857
857
{
858
858
return m_materialProperties.GetMaterialPropertiesLayout ();
859
859
}
860
+ Data::Instance<RPI::ShaderResourceGroup> Material::GetShaderResourceGroup ()
861
+ {
862
+ return m_shaderResourceGroup;
863
+ }
860
864
} // namespace RPI
861
865
} // namespace AZ
You can’t perform that action at this time.
0 commit comments