RDTexture

A 2D texture

Constructors

this
this(RenderingDevice device, RDTextureFormat format, RDTextureView view, ubyte[] data)

Creates a new RDTexture2D.

Members

Functions

update
void update(int layer, void[] data)

Updates the data in the texture.

Properties

format
RDTextureFormat format [@property getter]

The format of this texture.

Inherited Members

From RDObject

~this
~this()
Undocumented in source.
device
RenderingDevice device [@property getter]

The device which owns this object.

rid
RID rid [@property getter]

The RID of this object.

Meta