Searched refs:_constantBuffer (Results 1 – 4 of 4) sorted by relevance
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/common/ |
H A D | d3d11ControlMeshDisplay.cpp | 70 _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 D | d3d11Hud.cpp | 188 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 D | d3d11ControlMeshDisplay.h | 57 ID3D11Buffer *_constantBuffer; variable
|
H A D | d3d11Hud.h | 63 ID3D11Buffer* _constantBuffer; variable
|