Back to class index
| ShaderConstantBuffer::ApplySyntaxvoid ShaderConstantBuffer::Apply() const;Applies this constant buffer to the shader program (Material) that is currently activated on the device. Work in progress:Todo: in void ShaderConstantBuffer::Apply() const: This is probably not too nice! Todo: in void ShaderConstantBuffer::Apply() const: Optimize? constantDescriptions[i].textureSlot is constant and only needs to be done once for the shader? Leave a Comment |