CrystalSpace

Public API Reference

csAlphaMode Struct Reference
[3D]

Describes how to deal with alpha values in textures. More...

#include <ivideo/graph3d.h>

List of all members.

Public Types

enum  AlphaType { alphaNone = 1, alphaBinary, alphaSmooth }
 

How to handle alpha.

More...

Public Attributes

bool autoAlphaMode
 Whether 'automatic alpha mode' should be used.
AlphaType alphaType
 Alpha mode to use when autoAlphaMode is false.
CS::StringIDValue autoModeTexture
 String ID for texture to retrieve the alpha mode from when autoAlphaMode is true.

Detailed Description

Describes how to deal with alpha values in textures.

Definition at line 470 of file graph3d.h.


Member Enumeration Documentation

How to handle alpha.

Enumerator:
alphaNone 

Ignore alpha.

alphaBinary 

Binary alpha (alpha test is used).

alphaSmooth 

'Smooth' alpha (colors are mixed based on a pixel's alpha value)

Definition at line 473 of file graph3d.h.


Member Data Documentation

Alpha mode to use when autoAlphaMode is false.

Definition at line 487 of file graph3d.h.

Whether 'automatic alpha mode' should be used.

Definition at line 483 of file graph3d.h.

String ID for texture to retrieve the alpha mode from when autoAlphaMode is true.

Definition at line 492 of file graph3d.h.


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

Generated for Crystal Space 2.0 by doxygen 1.6.1