Shader Struct Reference
[Rendering Services]

Inherits Service.

Inherited by ShaderImpl.

List of all members.

Public Methods

virtual void enableAlphaBlend ()=0
virtual void disableAlphaBlend ()=0
virtual void enableDepthTest ()=0
virtual void disableDepthTest ()=0
virtual void setAlphaBlend (BlendOps src, BlendOps dst)=0
virtual void setColor (Float red, Float green, Float blue)=0
virtual void setAlpha (Float alpha)=0
virtual void setTexture (Texture *t)=0
virtual TexturegetTexture ()=0


Detailed Description

A description of the appearance of a surface.


Member Function Documentation

virtual void Shader::disableAlphaBlend   [pure virtual]
 

Disable alpha blending.

Scripted as:
disableAlphaBlend

virtual void Shader::disableDepthTest   [pure virtual]
 

Disable depth testing.

Scripted as:
disableDepthTest()

virtual void Shader::enableAlphaBlend   [pure virtual]
 

Enable alpha blending.

Scripted as:
enableAlphaBlend

virtual void Shader::enableDepthTest   [pure virtual]
 

Enable Z testing.

Scripted as:
enableDepthTest

virtual Texture* Shader::getTexture   [pure virtual]
 

Retrieve the texture.

Scripted as:
[r/w service] texture

virtual void Shader::setAlpha Float    alpha [pure virtual]
 

Set the alpha level. Zero is transparent, one is opaque.

Scripted as:
setAlpha(float)

virtual void Shader::setAlphaBlend BlendOps    src,
BlendOps    dst
[pure virtual]
 

Set the alpha blending mode.

Scripted as:
setAlphaBlend(int, int)

virtual void Shader::setColor Float    red,
Float    green,
Float    blue
[pure virtual]
 

The surface base color. This may be overridden by the geometry vertices.

Scripted as:
setColor(float, float, float)

virtual void Shader::setTexture Texture   t [pure virtual]
 

Specify a texture. Set texture to NULL to clear the texture. If the texture contains an alpha channel, alpha blending will be enabled automatically.

Scripted as:
[r/w service] texture


The documentation for this struct was generated from the following file:


Flat Four Engine
Copyright (C) 2001 by 379, Inc.
This page generated by Doxygen