reckfellENGINE

RDVertexAttribute

Vertex attribute (used by RenderingDevice).

On this page
class RDVertexAttributeReckfellSharpInherits RefCounted

Vertex attribute (used by RenderingDevice).

This object is used by RenderingDevice.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

RDVertexAttributeConstructor
# RDVertexAttribute
C#
public RDVertexAttribute();

Properties6

BindingProperty
# Binding
C#
public uint Binding { get; set; }

The index of the buffer in the vertex buffer array to bind this vertex attribute. When set to -1, it defaults to the index of the attribute. Note: You cannot mix binding explicitly assigned attributes with implicitly assigned ones (i.e. -1). Either all attributes must have their binding set to -1, or all must have explicit bindings.

FormatProperty
# Format
C#
public RenderingDevice.DataFormat Format { get; set; }

The way that this attribute's data is interpreted when sent to a shader.

FrequencyProperty
# Frequency
C#
public RenderingDevice.VertexFrequency Frequency { get; set; }

The rate at which this attribute is pulled from its vertex buffer.

LocationProperty
# Location
C#
public uint Location { get; set; }

The location in the shader that this attribute is bound to.

OffsetProperty
# Offset
C#
public uint Offset { get; set; }

The number of bytes between the start of the vertex buffer and the first instance of this attribute.

StrideProperty
# Stride
C#
public uint Stride { get; set; }

The number of bytes between the starts of consecutive instances of this attribute.

Methods12

GetBindinguint
# GetBinding
C#
public uint GetBinding();
Returns uint
GetFormatRenderingDevice.DataFormat
# GetFormat
C#
public RenderingDevice.DataFormat GetFormat();
Returns RenderingDevice.DataFormat
GetFrequencyRenderingDevice.VertexFrequency
# GetFrequency
C#
public RenderingDevice.VertexFrequency GetFrequency();
Returns RenderingDevice.VertexFrequency
GetLocationuint
# GetLocation
C#
public uint GetLocation();
Returns uint
GetOffsetuint
# GetOffset
C#
public uint GetOffset();
Returns uint
GetStrideuint
# GetStride
C#
public uint GetStride();
Returns uint
SetBindingvoid
# SetBinding
C#
public void SetBinding(uint pMember);
Parameters
NameTypeDefault
pMemberuint—
SetFormatvoid
# SetFormat
C#
public void SetFormat(RenderingDevice.DataFormat pMember);
Parameters
NameTypeDefault
pMemberRenderingDevice.DataFormat—
SetFrequencyvoid
# SetFrequency
C#
public void SetFrequency(RenderingDevice.VertexFrequency pMember);
Parameters
NameTypeDefault
pMemberRenderingDevice.VertexFrequency—
SetLocationvoid
# SetLocation
C#
public void SetLocation(uint pMember);
Parameters
NameTypeDefault
pMemberuint—
SetOffsetvoid
# SetOffset
C#
public void SetOffset(uint pMember);
Parameters
NameTypeDefault
pMemberuint—
SetStridevoid
# SetStride
C#
public void SetStride(uint pMember);
Parameters
NameTypeDefault
pMemberuint—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.