Table of Contents

Class RDVertexAttribute

Vertex attribute (used by RenderingDevice).

Inheritance
RDVertexAttribute

Remarks

This object is used by RenderingDevice.

Properties

format

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

var format : int = 232

Property Value

int

Remarks

  • void set_format(int value)
  • int get_format

frequency

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

var frequency : int = 0

Property Value

int

Remarks

  • void set_frequency(int value)
  • int get_frequency

location

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

var location : int = 0

Property Value

int

Remarks

  • void set_location(int value)
  • int get_location

offset

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

var offset : int = 0

Property Value

int

Remarks

  • void set_offset(int value)
  • int get_offset

stride

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

var stride : int = 0

Property Value

int

Remarks

  • void set_stride(int value)
  • int get_stride