Class GPUConstantBufferDX11
Constant Buffer for DirectX 11 backend.
Inheritance
GPUConstantBufferDX11
    Inherited Members
      GPUConstantBufferDX11
    
    
    
    
    
    
    
    
    
    
    
  Assembly: FlaxEngine.dll
File: Engine/GraphicsDevice/DirectX/DX11/GPUShaderDX11.h
Syntax
public class GPUConstantBufferDX11 : public GPUResourceDX11Constructors
~GPUConstantBufferDX11()
Finalizes an instance of the GPUConstantBufferDX11 class.
Declaration
public ~GPUConstantBufferDX11()GPUConstantBufferDX11(GPUDeviceDX11* device, uint32 size, uint32 memorySize, ID3D11Buffer* buffer, const StringView& name)
Declaration
public GPUConstantBufferDX11(GPUDeviceDX11* device, uint32 size, uint32 memorySize, ID3D11Buffer* buffer, const StringView& name) noexceptParameters
| GPUDeviceDX11
        device 
 | 
| uint32
        size 
 | 
| uint32
        memorySize 
 | 
| ID3D11Buffer
        buffer 
 | 
| StringView
        name 
 | 
Methods
GetBuffer()
Gets the constant buffer object.
Declaration
public ID3D11Buffer* GetBuffer() constReturns
| ID3D11Buffer The DirectX buffer object. | 
GetResource()
Gets DirectX 11 resource object handle.
Declaration
public virtual ID3D11Resource* GetResource() overrideReturns
| ID3D11Resource 
 | 
Overrides
OnReleaseGPU()
Releases GPU resource data (implementation).
Declaration
public virtual void OnReleaseGPU() final override