Class reference

RDVertexAttribute

Inherits RefCounted

Vertex attribute (used by RenderingDevice).

Description

This object is used by RenderingDevice.

Properties

int format = 232

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

int frequency = 0

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

int location = 0

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

int offset = 0

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

int stride = 0

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

Source revision 5592dc3a7a61
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.