프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ExtractPlatformShader | string |
메소드 | 설명 | |
---|---|---|
Compile ( ) : void |
Compiles the shader. This is done automatically when loading the shader or attaching it to a Duality.Resources.ShaderProgram.
|
|
LoadSource ( Stream stream ) : void |
Loads new shader source code from the specified System.IO.Stream.
|
|
LoadSource ( string filePath = null ) : void |
Loads new shader source code from the specified file.
|
|
SaveSource ( string filePath = null ) : void |
Saves the current shader source code to the specified file.
|
메소드 | 설명 | |
---|---|---|
AbstractShader ( ) : System | ||
AbstractShader ( string sourceCode ) : System | ||
OnCopyTo ( Resource r, Duality provider ) : void | ||
OnDisposing ( bool manually ) : void | ||
OnLoaded ( ) : void |
메소드 | 설명 | |
---|---|---|
ExtractPlatformShader ( string allVersions, string platform ) : string |
protected AbstractShader ( string sourceCode ) : System | ||
sourceCode | string | |
리턴 | System |
public LoadSource ( Stream stream ) : void | ||
stream | Stream | The |
리턴 | void |
public LoadSource ( string filePath = null ) : void | ||
filePath | string | The path of the file to read the source code from. |
리턴 | void |
protected OnCopyTo ( Resource r, Duality provider ) : void | ||
r | Resource | |
provider | Duality | |
리턴 | void |
public SaveSource ( string filePath = null ) : void | ||
filePath | string | The path of the file to write the source code to. |
리턴 | void |