Package be.yildizgames.module.graphic.shader
Contains the logic to build and manipulate vertex and pixel shader.
- Author:
- Grégory Van den Borre
-
Class Summary Class Description FragmentShader Wrap a fragment(also called as pixel) shader.Shader A shader data, can be fragment, vertex or geometry shader.Shader.FragmentProfileList Contains the profile to use for a fragment shader.Shader.ShaderProfile Base class for shader profiles list.Shader.VertexProfileList Contains the profile to use for a vertex shader.ShaderParam ShaderParamColor A parameter for a shader, wrap a color.ShaderParamFloat A parameter for a shader, wrap a float.ShaderParamFloat2 A parameter for a shader with 2 float values.ShaderParamFloat3 A parameter for a shader with 3 float values.ShaderParamFloat4 A parameter for a shader with 4 float values.VertexShader Wrap a vertex shader. -
Enum Summary Enum Description Shader.FragmentDx DirectX fragment profiles.Shader.FragmentGL OpenGL fragment profiles.Shader.ShaderType Possible shader types.Shader.VertexDx DirectX vertex profiles.Shader.VertexGL OpenGL vertex profiles.ShaderConstantType Possible auto constant values. -
Exception Summary Exception Description Shader.ShaderTypeException Exception to throw in case of the shader type not being the one expected.