Fixes for GPU resources C# object types
This commit is contained in:
@@ -59,6 +59,7 @@ uint32 GPUShaderProgramsContainer::CalculateHash(const StringAnsiView& name, int
|
||||
}
|
||||
|
||||
GPUShader::GPUShader()
|
||||
: GPUResource(SpawnParams(Guid::New(), TypeInitializer))
|
||||
{
|
||||
Platform::MemoryClear(_constantBuffers, sizeof(_constantBuffers));
|
||||
}
|
||||
|
||||
@@ -74,9 +74,6 @@ protected:
|
||||
GPUShaderProgramsContainer _shaders;
|
||||
GPUConstantBuffer* _constantBuffers[MAX_CONSTANT_BUFFER_SLOTS];
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="GPUShader"/> class.
|
||||
/// </summary>
|
||||
GPUShader();
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user