RDTexture.this

Creates a new RDTexture2D.

class RDTexture
@nogc
this
(
RenderingDevice device
,
RDTextureFormat format
,
RDTextureView view
,
ubyte[] data
)

Parameters

device RenderingDevice

The owning device

format RDTextureFormat

The format of the texture

view RDTextureView

The texture view of the texture

data ubyte[]

The data to set for the texture's 0th mip-level.

Meta