Table of Contents

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

buffer ConstantBuffer

ConstantBufferDescription(string, int, int)

public ConstantBufferDescription(string name, int structSize, int strideSize = 0)

Parameters

name string
structSize int
strideSize int

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

string

OptionFlags

public ResourceOptionFlags OptionFlags { get; set; }

Property Value

ResourceOptionFlags

Slot

public int Slot { get; set; }

Property Value

int

Stage

public ShaderStage Stage { get; set; }

Property Value

ShaderStage

StrideSize

public int StrideSize { get; set; }

Property Value

int

StructSize

public int StructSize { get; set; }

Property Value

int

Usage

public ResourceUsage Usage { get; set; }

Property Value

ResourceUsage

Variables

public List<ConstantBufferVariable> Variables { get; }

Property Value

List<ConstantBufferVariable>

Methods

Clone()

public ConstantBufferDescription Clone()

Returns

ConstantBufferDescription

CreateBuffer()

public ConstantBufferProxy CreateBuffer()

Returns

ConstantBufferProxy

CreateMapping(int)

public ConstantBufferMapping CreateMapping(int slot)

Parameters

slot int

Returns

ConstantBufferMapping