RenderStates

Define the states used for drawing to a RenderTarget.

Constructors

this
this(BlendMode theBlendMode)

Construct a default set of render states with a custom blend mode.

this
this(Transform theTransform)

Construct a default set of render states with a custom transform.

this
this(const(Texture) theTexture)

Construct a default set of render states with a custom texture

this
this(const(Shader) theShader)

Construct a default set of render states with a custom shader

this
this(BlendMode theBlendMode, Transform theTransform, const(Texture) theTexture, const(Shader) theShader)

Construct a set of render states with all its attributes

Members

Properties

shader
const(Shader) shader [@property getter]

The shader to apply while rendering.

shader
const(Shader) shader [@property setter]

The shader to apply while rendering.

texture
const(Texture) texture [@property setter]
const(Texture) texture [@property getter]

The texture to apply while rendering.

Variables

blendMode
BlendMode blendMode;

The blending mode.

transform
Transform transform;

The transform.

Meta