4 using SiliconStudio.Core;
5 using SiliconStudio.Core.Serialization;
6 using SiliconStudio.Core.Storage;
8 namespace SiliconStudio.
Paradox.Shaders
32 public byte[] Data {
get; set; }
58 return shaderBytecode.Data;
67 return Encoding.UTF8.GetString(Data, 0, Data.Length);
The bytecode of an effect.
ShaderStage Stage
The stage of this Bytecode.
ShaderBytecode()
Initializes a new instance of the ShaderBytecode class.
string GetDataAsString()
Gets the data as a string.
ShaderBytecode(ObjectId id, byte[] data)
Initializes a new instance of the ShaderBytecode class.
A hash to uniquely identify data.
ShaderStage
Enum to specify shader stage.