18 #ifndef __H__OCULAR_D3D11_SHADER_UNIFORM_BUFFER__H__
19 #define __H__OCULAR_D3D11_SHADER_UNIFORM_BUFFER__H__
21 #include "Graphics/Shader/Uniform/UniformBuffer.hpp"
46 D3D11UniformBuffer(UniformBufferType type, ID3D11Device* device, ID3D11DeviceContext* context);
52 virtual void bind()
override;
53 virtual void unbind()
override;
58 void packDynamicUniformData();
59 void packFixedUniformData();
61 void buildD3DBuffer();
62 void updateD3DBuffer();
66 ID3D11Device* m_D3DDevice;
67 ID3D11DeviceContext* m_D3DDeviceContext;
68 ID3D11Buffer* m_D3DBuffer;
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70