Property | Type | Description | |
---|---|---|---|
None | ContentRef |
Property | Type | Description | |
---|---|---|---|
InitDefaultContent | void |
Method | Description | |
---|---|---|
AttachShaders ( ) : void | ||
AttachShaders ( ContentRef |
||
Bind ( ContentRef |
Binds a ShaderProgram in order to use it.
|
|
Compile ( ) : void |
Compiles the ShaderProgram. This is done automatically when loading the ShaderProgram or when binding it.
|
|
DetachShaders ( ) : void | ||
ShaderProgram ( ) : System |
Creates a new, empty ShaderProgram.
|
|
ShaderProgram ( ContentRef |
Creates a new ShaderProgram based on a VertexShader">Vertex- and a |
Method | Description | |
---|---|---|
OnCopyTo ( Resource r, Duality provider ) : void | ||
OnDisposing ( bool manually ) : void | ||
OnLoaded ( ) : void |
Method | Description | |
---|---|---|
InitDefaultContent ( ) : void |
public AttachShaders ( ContentRef |
||
v | ContentRef |
|
f | ContentRef |
|
g | ContentRef |
|
return | void |
public static Bind ( ContentRef |
||
prog | ContentRef |
The ShaderProgram to be bound. |
return | void |
protected OnCopyTo ( Resource r, Duality provider ) : void | ||
r | Resource | |
provider | Duality | |
return | void |
protected OnDisposing ( bool manually ) : void | ||
manually | bool | |
return | void |
public ShaderProgram ( ContentRef |
||
v | ContentRef |
|
f | ContentRef |
|
return | System |