Searched refs:constantBufferDescription (Results 1 – 3 of 3) sorted by relevance
2500 void InitConstantBufferDesc(D3D11_BUFFER_DESC *constantBufferDescription, size_t byteWidth) in InitConstantBufferDesc() argument2502 constantBufferDescription->ByteWidth = static_cast<UINT>(byteWidth); in InitConstantBufferDesc()2503 constantBufferDescription->Usage = D3D11_USAGE_DYNAMIC; in InitConstantBufferDesc()2504 constantBufferDescription->BindFlags = D3D11_BIND_CONSTANT_BUFFER; in InitConstantBufferDesc()2505 constantBufferDescription->CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; in InitConstantBufferDesc()2506 constantBufferDescription->MiscFlags = 0; in InitConstantBufferDesc()2507 constantBufferDescription->StructureByteStride = 0; in InitConstantBufferDesc()
334 void InitConstantBufferDesc(D3D11_BUFFER_DESC *constantBufferDescription, size_t byteWidth);
3405 D3D11_BUFFER_DESC constantBufferDescription = {}; in applyDriverUniformsForShader() local3406 d3d11::InitConstantBufferDesc(&constantBufferDescription, requiredSize); in applyDriverUniformsForShader()3408 GetImplAs<Context11>(context), constantBufferDescription, &shaderDriverConstantBuffer)); in applyDriverUniformsForShader()3501 D3D11_BUFFER_DESC constantBufferDescription = {}; in applyComputeUniforms() local3502 d3d11::InitConstantBufferDesc(&constantBufferDescription, requiredSize); in applyComputeUniforms()3504 mRenderer->allocateResource(GetImplAs<Context11>(context), constantBufferDescription, in applyComputeUniforms()