Class ConstantBufferDescription
- Namespace
- HelixToolkit.SharpDX.Shaders
- Assembly
- HelixToolkit.SharpDX.dll
public sealed class ConstantBufferDescription
- Inheritance
-
ConstantBufferDescription
- Inherited Members
Constructors
ConstantBufferDescription(ConstantBuffer)
public ConstantBufferDescription(ConstantBuffer buffer)
Parameters
bufferConstantBuffer
ConstantBufferDescription(string, int, int)
public ConstantBufferDescription(string name, int structSize, int strideSize = 0)
Parameters
Properties
BindFlags
public BindFlags BindFlags { get; set; }
Property Value
- BindFlags
CpuAccessFlags
public CpuAccessFlags CpuAccessFlags { get; set; }
Property Value
- CpuAccessFlags
Name
public string Name { get; set; }
Property Value
OptionFlags
public ResourceOptionFlags OptionFlags { get; set; }
Property Value
- ResourceOptionFlags
Slot
public int Slot { get; set; }
Property Value
Stage
public ShaderStage Stage { get; set; }
Property Value
StrideSize
public int StrideSize { get; set; }
Property Value
StructSize
public int StructSize { get; set; }
Property Value
Usage
public ResourceUsage Usage { get; set; }
Property Value
- ResourceUsage
Variables
public List<ConstantBufferVariable> Variables { get; }
Property Value
Methods
Clone()
public ConstantBufferDescription Clone()
Returns
CreateBuffer()
public ConstantBufferProxy CreateBuffer()
Returns
CreateMapping(int)
public ConstantBufferMapping CreateMapping(int slot)
Parameters
slotint