RDShader.this

Constructs a new shader.

class RDShader
@nogc
this
(
RenderingDevice device
,
string name
,
string vertex
,
string fragment
)

Parameters

device RenderingDevice

The device that owns the shader.

name string

The name of the shader.

vertex string

The GLSL source of the vertex shader.

fragment string

The GLSL source of the fragment shader.

Meta