Home
last modified time | relevance | path

Searched refs:_constantBuffer (Results 1 – 4 of 4) sorted by relevance

/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/common/
H A Dd3d11ControlMeshDisplay.cpp70 _pixelShader(0), _rasterizerState(0), _constantBuffer(0), in D3D11ControlMeshDisplay()
80 SAFE_RELEASE(_constantBuffer); in ~D3D11ControlMeshDisplay()
142 device->CreateBuffer(&cbDesc, NULL, &_constantBuffer); in createProgram()
143 assert(_constantBuffer); in createProgram()
162 _deviceContext->Map(_constantBuffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &MappedResource); in Draw()
165 _deviceContext->Unmap(_constantBuffer, 0); in Draw()
175 _deviceContext->VSSetConstantBuffers(0, 1, &_constantBuffer); in Draw()
H A Dd3d11Hud.cpp188 device->CreateBuffer(&cbDesc, NULL, &_constantBuffer); in Init()
189 assert(_constantBuffer); in Init()
254 _deviceContext->Map(_constantBuffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &MappedResource); in Flush()
260 _deviceContext->Unmap( _constantBuffer, 0 ); in Flush()
273 _deviceContext->VSSetConstantBuffers(0, 1, &_constantBuffer); in Flush()
H A Dd3d11ControlMeshDisplay.h57 ID3D11Buffer *_constantBuffer; variable
H A Dd3d11Hud.h63 ID3D11Buffer* _constantBuffer; variable