Class Qkmaxware::Rendering::UnlitTexture
Class List > Qkmaxware > Rendering > UnlitTexture
Unlit textured material
Inherits the following classes: Qkmaxware::Rendering::TexturedMaterial
Public Attributes inherited from Qkmaxware::Rendering::TexturedMaterial
See Qkmaxware::Rendering::TexturedMaterial
Type | Name |
---|---|
Texture2D | Texture |
Public Attributes inherited from Qkmaxware::Rendering::Material
See Qkmaxware::Rendering::Material
Type | Name |
---|---|
bool | TwoSided = = false Two sided materials will not be subject to occlusion culling |
Public Functions
Type | Name |
---|---|
virtual override Color | Edge (ShaderVariables variables) Shader to apply to each face's edges |
virtual override Color | Fragment (ShaderVariables variables) Shader to apply to each face's surface |
UnlitTexture (Texture2D texture) |
Public Functions inherited from Qkmaxware::Rendering::TexturedMaterial
See Qkmaxware::Rendering::TexturedMaterial
Type | Name |
---|---|
TexturedMaterial (Texture2D texture) Create a textured material with the given texture and sampling mode |
Public Functions inherited from Qkmaxware::Rendering::Material
See Qkmaxware::Rendering::Material
Type | Name |
---|---|
virtual Color | Edge (ShaderVariables variables) Shader to apply to each face's edges |
virtual Color | Fragment (ShaderVariables variables) Shader to apply to each face's surface |
virtual Color | Vert (ShaderVariables variables) Shader to apply to each vertex |
Protected Functions inherited from Qkmaxware::Rendering::TexturedMaterial
See Qkmaxware::Rendering::TexturedMaterial
Type | Name |
---|---|
Color | ColourSample (Vec2 uv) Sample a colour on the given texture at the provided UV coordinates |
Public Functions Documentation
function Edge
inline virtual override Color Qkmaxware::Rendering::UnlitTexture::Edge (
ShaderVariables variables
)
Parameters:
variables
shading variables
Returns:
edge colour
Implements Qkmaxware::Rendering::Material::Edge
function Fragment
inline virtual override Color Qkmaxware::Rendering::UnlitTexture::Fragment (
ShaderVariables variables
)
Parameters:
variables
shading variables
Returns:
color of point on face
Implements Qkmaxware::Rendering::Material::Fragment
function UnlitTexture
inline Qkmaxware::Rendering::UnlitTexture::UnlitTexture (
Texture2D texture
)
The documentation for this class was generated from the following file Render/src/Material.cs