Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
Package SiliconStudio.Paradox.Shaders

Namespaces

package  Compiler
 
package  Parser
 

Classes

class  EffectBytecode
 Contains a compiled shader with bytecode for each stage. More...
 
struct  EffectObjectIds
 
struct  EffectParameterData
 The header of a shader parameter. More...
 
struct  EffectParameterResourceData
 Describes a shader parameter for a resource type. More...
 
struct  EffectParameterValueData
 Describes a shader parameter for a valuetype (usually stored in constant buffers). More...
 
class  EffectReflection
 The reflection data describing the parameters of a shader. More...
 
class  EffectSamplerStateBinding
 Binding to a sampler. More...
 
class  EffectSourceCodeKeys
 Keys used for sourcecode generation. More...
 
class  HashSourceCollection
 A dictionary of associations betweens asset shader urls and ObjectId More...
 
interface  IShaderMixinBuilder
 Interface to be implemented for dynamic mixin generation. More...
 
class  NamespaceDoc
 The SiliconStudio.Paradox.Shaders namespace contains types to handle the Paradox high-level Shading Language. More...
 
class  ParameterKeyHashSerializer
 
class  ShaderArraySource
 An array of ShaderSource used only in shader mixin compositions. More...
 
class  ShaderBytecode
 The bytecode of an effect. More...
 
class  ShaderClassSource
 A shader class used for mixin. More...
 
class  ShaderConstantBufferDescription
 Description of a constant buffer. More...
 
struct  ShaderMacro
 Preprocessor macro. More...
 
class  ShaderMixinContext
 A context used when mixin ShaderSource. More...
 
class  ShaderMixinGeneratorSource
 A shader source that is linked to a pdxfx effect. More...
 
class  ShaderMixinManager
 Manages IShaderMixinBuilder and generation of shader mixins. More...
 
class  ShaderMixinObjectId
 A helper class to compute a unique object id for a ShaderMixinSource. More...
 
class  ShaderMixinParameters
 Parameters used for mixin. More...
 
class  ShaderMixinSource
 A mixin performing a combination of ShaderClassSource and other mixins. More...
 
class  ShaderMixinSourceTree
 Contains a tree of ShaderMixinSource. More...
 
class  ShaderMixinSourceTreeExtensions
 Extensions for ShaderMixinSourceTree More...
 
class  ShaderSource
 A shader source. More...
 
struct  ShaderStreamOutputDeclarationEntry
 Description of a StreamOutput declaration entry. More...
 

Enumerations

enum  ConstantBufferType { ConstantBufferType.Unknown, ConstantBufferType.ConstantBuffer, ConstantBufferType.TextureBuffer }
 Describes the type of constant buffer. More...
 
enum  EffectParameterClass : byte {
  EffectParameterClass.Scalar = unchecked((int)0), EffectParameterClass.Vector = unchecked((int)1), EffectParameterClass.MatrixRows = unchecked((int)2), EffectParameterClass.MatrixColumns = unchecked((int)3),
  EffectParameterClass.Object = unchecked((int)4), EffectParameterClass.Struct = unchecked((int)5), EffectParameterClass.InterfaceClass = unchecked((int)6), EffectParameterClass.InterfacePointer = unchecked((int)7),
  EffectParameterClass.Sampler = unchecked((int)8), EffectParameterClass.ShaderResourceView = unchecked((int)9), EffectParameterClass.ConstantBuffer = unchecked((int)10), EffectParameterClass.TextureBuffer = unchecked((int)11),
  EffectParameterClass.UnorderedAccessView = unchecked((int)12), EffectParameterClass.Color = unchecked((int)13)
}
 Values that identify the class of a shader variable. More...
 
enum  EffectParameterType : byte {
  EffectParameterType.Void = unchecked((int)0), EffectParameterType.Bool = unchecked((int)1), EffectParameterType.Int = unchecked((int)2), EffectParameterType.Float = unchecked((int)3),
  EffectParameterType.String = unchecked((int)4), EffectParameterType.Texture = unchecked((int)5), EffectParameterType.Texture1D = unchecked((int)6), EffectParameterType.Texture2D = unchecked((int)7),
  EffectParameterType.Texture3D = unchecked((int)8), EffectParameterType.TextureCube = unchecked((int)9), EffectParameterType.Sampler = unchecked((int)10), EffectParameterType.Sampler1D = unchecked((int)11),
  EffectParameterType.Sampler2D = unchecked((int)12), EffectParameterType.Sampler3D = unchecked((int)13), EffectParameterType.SamplerCube = unchecked((int)14), EffectParameterType.UInt = unchecked((int)19),
  EffectParameterType.UInt8 = unchecked((int)20), EffectParameterType.Buffer = unchecked((int)25), EffectParameterType.ConstantBuffer = unchecked((int)26), EffectParameterType.TextureBuffer = unchecked((int)27),
  EffectParameterType.Texture1DArray = unchecked((int)28), EffectParameterType.Texture2DArray = unchecked((int)29), EffectParameterType.Texture2DMultisampled = unchecked((int)32), EffectParameterType.Texture2DMultisampledArray = unchecked((int)33),
  EffectParameterType.TextureCubeArray = unchecked((int)34), EffectParameterType.Double = unchecked((int)39), EffectParameterType.RWTexture1D = unchecked((int)40), EffectParameterType.RWTexture1DArray = unchecked((int)41),
  EffectParameterType.RWTexture2D = unchecked((int)42), EffectParameterType.RWTexture2DArray = unchecked((int)43), EffectParameterType.RWTexture3D = unchecked((int)44), EffectParameterType.RWBuffer = unchecked((int)45),
  EffectParameterType.ByteAddressBuffer = unchecked((int)46), EffectParameterType.RWByteAddressBuffer = unchecked((int)47), EffectParameterType.StructuredBuffer = unchecked((int)48), EffectParameterType.RWStructuredBuffer = unchecked((int)49),
  EffectParameterType.AppendStructuredBuffer = unchecked((int)50), EffectParameterType.ConsumeStructuredBuffer = unchecked((int)51)
}
 
enum  ShaderStage {
  ShaderStage.None = 0, ShaderStage.Vertex = 1, ShaderStage.Hull = 2, ShaderStage.Domain = 3,
  ShaderStage.Geometry = 4, ShaderStage.Pixel = 5, ShaderStage.Compute = 6
}
 Enum to specify shader stage. More...
 

Enumeration Type Documentation

Describes the type of constant buffer.

Enumerator
Unknown 

An unknown buffer.

ConstantBuffer 

A standard constant buffer

TextureBuffer 

A texture buffer

Definition at line 11 of file ConstantBufferType.cs.

Values that identify the class of a shader variable.

The class of a shader variable is not a programming class; the class identifies the variable class such as scalar, vector, object, and so on.

Enumerator
Scalar 

The shader variable is a scalar.

Vector 

The shader variable is a vector.

MatrixRows 

The shader variable is a row-major matrix.

MatrixColumns 

The shader variable is a column-major matrix.

Object 

The shader variable is an object.

Struct 

The shader variable is a structure.

InterfaceClass 

The shader variable is a class.

InterfacePointer 

The shader variable is an interface.

Sampler 

A sampler state object.

ShaderResourceView 

A shader resource view.

ConstantBuffer 

A constant buffer

TextureBuffer 

A constant buffer

UnorderedAccessView 

An unordered access view

Color 

The shader variable is a vector.

Definition at line 14 of file EffectParameterClass.cs.

Values that identify various data, texture, and buffer types that can be assigned to a shader variable.

Enumerator
Void 

The variable is a void reference.

Bool 

The variable is a boolean.

Int 

The variable is an integer.

Float 

The variable is a floating-point number.

String 

The variable is a string.

Texture 

The variable is a texture.

Texture1D 

The variable is a 1D texture.

Texture2D 

The variable is a 2D texture.

Texture3D 

The variable is a 3D texture.

TextureCube 

The variable is a texture cube.

Sampler 

The variable is a sampler.

Sampler1D 

The variable is a sampler.

Sampler2D 

The variable is a sampler.

Sampler3D 

The variable is a sampler.

SamplerCube 

The variable is a sampler.

UInt 

The variable is an unsigned integer.

UInt8 

The variable is an 8-bit unsigned integer.

Buffer 

The variable is a buffer.

ConstantBuffer 

The variable is a constant buffer.

TextureBuffer 

The variable is a texture buffer.

Texture1DArray 

The variable is a 1D-texture array.

Texture2DArray 

The variable is a 2D-texture array.

Texture2DMultisampled 

The variable is a 2D-multisampled texture.

Texture2DMultisampledArray 

The variable is a 2D-multisampled-texture array.

TextureCubeArray 

The variable is a texture-cube array.

Double 

The variable is a double precision (64-bit) floating-point number.

RWTexture1D 

The variable is a 1D read-and-write texture.

RWTexture1DArray 

The variable is an array of 1D read-and-write textures.

RWTexture2D 

The variable is a 2D read-and-write texture.

RWTexture2DArray 

The variable is an array of 2D read-and-write textures.

RWTexture3D 

The variable is a 3D read-and-write texture.

RWBuffer 

The variable is a read-and-write buffer.

ByteAddressBuffer 

The variable is a byte-address buffer.

RWByteAddressBuffer 

The variable is a read-and-write byte-address buffer.

StructuredBuffer 

The variable is a structured buffer.

For more information about structured buffer, see the Remarks section.

RWStructuredBuffer 

The variable is a read-and-write structured buffer.

AppendStructuredBuffer 

The variable is an append structured buffer.

ConsumeStructuredBuffer 

The variable is a consume structured buffer.

Definition at line 11 of file EffectParameterType.cs.

Enum to specify shader stage.

Enumerator
None 

No shader stage defined.

Vertex 

The vertex shader stage.

Hull 

The Hull shader stage.

Domain 

The domain shader stage.

Geometry 

The geometry shader stage.

Pixel 

The pixel shader stage.

Compute 

The compute shader stage.

Definition at line 12 of file ShaderStage.cs.