Searched refs:bufferDesc (Results 1 – 3 of 3) sorted by relevance
81 D3D11_BUFFER_DESC bufferDesc; in getData() local82 bufferDesc.ByteWidth = mSize; in getData()83 bufferDesc.Usage = D3D11_USAGE_STAGING; in getData()84 bufferDesc.BindFlags = 0; in getData()85 bufferDesc.CPUAccessFlags = D3D11_CPU_ACCESS_READ | D3D11_CPU_ACCESS_WRITE; in getData()86 bufferDesc.MiscFlags = 0; in getData()87 bufferDesc.StructureByteStride = 0; in getData()89 result = device->CreateBuffer(&bufferDesc, NULL, &mStagingBuffer); in getData()95 mStagingBufferSize = bufferDesc.ByteWidth; in getData()155 D3D11_BUFFER_DESC bufferDesc; in setData() local[all …]
46 D3D11_BUFFER_DESC bufferDesc; in initialize() local47 bufferDesc.ByteWidth = bufferSize; in initialize()48 bufferDesc.Usage = D3D11_USAGE_DYNAMIC; in initialize()49 bufferDesc.BindFlags = D3D11_BIND_INDEX_BUFFER; in initialize()50 bufferDesc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; in initialize()51 bufferDesc.MiscFlags = 0; in initialize()52 bufferDesc.StructureByteStride = 0; in initialize()54 HRESULT result = dxDevice->CreateBuffer(&bufferDesc, NULL, &mBuffer); in initialize()
50 D3D11_BUFFER_DESC bufferDesc; in initialize() local51 bufferDesc.ByteWidth = size; in initialize()52 bufferDesc.Usage = D3D11_USAGE_DYNAMIC; in initialize()53 bufferDesc.BindFlags = D3D11_BIND_VERTEX_BUFFER; in initialize()54 bufferDesc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; in initialize()55 bufferDesc.MiscFlags = 0; in initialize()56 bufferDesc.StructureByteStride = 0; in initialize()58 HRESULT result = dxDevice->CreateBuffer(&bufferDesc, NULL, &mBuffer); in initialize()