![]() |
Paradox Game Engine
v1.0.0 beta06
|
The bytecode of an effect. More...
Public Member Functions | |
| ShaderBytecode () | |
| Initializes a new instance of the ShaderBytecode class. More... | |
| ShaderBytecode (ObjectId id, byte[] data) | |
| Initializes a new instance of the ShaderBytecode class. More... | |
| string | GetDataAsString () |
| Gets the data as a string. More... | |
Static Public Member Functions | |
| static implicit | operator byte[] (ShaderBytecode shaderBytecode) |
| Performs an implicit conversion from ShaderBytecode to System.Byte[][]. More... | |
Public Attributes | |
| ShaderStage | Stage |
| The stage of this Bytecode. More... | |
Properties | |
| ObjectId | Id [get, set] |
| Hash of the Data. More... | |
| byte[] | Data [get, set] |
| Gets the shader data that should be used to create the Shader. More... | |
The bytecode of an effect.
Definition at line 14 of file ShaderBytecode.cs.
| SiliconStudio.Paradox.Shaders.ShaderBytecode.ShaderBytecode | ( | ) |
Initializes a new instance of the ShaderBytecode class.
Definition at line 37 of file ShaderBytecode.cs.
| SiliconStudio.Paradox.Shaders.ShaderBytecode.ShaderBytecode | ( | ObjectId | id, |
| byte[] | data | ||
| ) |
Initializes a new instance of the ShaderBytecode class.
| data | The data. |
Definition at line 45 of file ShaderBytecode.cs.
| string SiliconStudio.Paradox.Shaders.ShaderBytecode.GetDataAsString | ( | ) |
|
static |
Performs an implicit conversion from ShaderBytecode to System.Byte[][].
| shaderBytecode | The shader bytecode. |
Definition at line 56 of file ShaderBytecode.cs.
| ShaderStage SiliconStudio.Paradox.Shaders.ShaderBytecode.Stage |
The stage of this Bytecode.
Definition at line 19 of file ShaderBytecode.cs.
|
getset |
Gets the shader data that should be used to create the Shader.
The shader data.
Definition at line 32 of file ShaderBytecode.cs.
|
getset |
Hash of the Data.
Definition at line 24 of file ShaderBytecode.cs.