Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
Support

Defines the rendering state of the graphics device. More...

Classes

class  Material
 Material defines the apperance of the objects. More...
 
class  MeshCommand
 Command used to draw a mesh. More...
 
class  Pass
 Material contains one or more techniques. More...
 
class  RenderState
 Defines the rendering state of the graphics device. More...
 
class  RenderState::StateBlock
 Defines a block of fixed-function render states that can be applied to a RenderState object. More...
 
class  Technique
 Material contains one or more techniques. More...
 
class  VertexAttribBinding
 Defines a binding between the vertex layout of a Mesh and the vertex input attributes of a vertex shader (Effect). More...
 

Enumerations

enum  DepthFunction
 Defines the supported depth compare functions. More...
 
enum  CullFaceSide
 Defines culling criteria for front-facing, back-facing and both-side facets.
 
enum  FrontFace
 Defines the winding of vertices in faces that are considered front facing. More...
 
enum  StencilFunction
 Defines the supported stencil compare functions. More...
 
enum  StencilOperation
 Defines the supported stencil operations to perform. More...
 
enum  
 StateBlock bits to be used with invalidate.
 

Detailed Description

Defines the rendering state of the graphics device.

Enumeration Type Documentation

enum DepthFunction

Defines the supported depth compare functions.

Depth compare functions specify the comparison that takes place between the incoming pixel's depth value and the depth value already in the depth buffer. If the compare function passes, the new pixel will be drawn.

The initial depth compare function is DEPTH_LESS.

var DepthFunction

Defines the supported depth compare functions.

Depth compare functions specify the comparison that takes place between the incoming pixel's depth value and the depth value already in the depth buffer. If the compare function passes, the new pixel will be drawn.

The initial depth compare function is DEPTH_LESS.

local DepthFunction

Defines the supported depth compare functions.

Depth compare functions specify the comparison that takes place between the incoming pixel's depth value and the depth value already in the depth buffer. If the compare function passes, the new pixel will be drawn.

The initial depth compare function is DEPTH_LESS.

enum FrontFace

Defines the winding of vertices in faces that are considered front facing.

The initial front face mode is set to FRONT_FACE_CCW.

var FrontFace

Defines the winding of vertices in faces that are considered front facing.

The initial front face mode is set to FRONT_FACE_CCW.

local FrontFace

Defines the winding of vertices in faces that are considered front facing.

The initial front face mode is set to FRONT_FACE_CCW.

enum StencilFunction

Defines the supported stencil compare functions.

Stencil compare functions determine if a new pixel will be drawn.

The initial stencil compare function is STENCIL_ALWAYS.

var StencilFunction

Defines the supported stencil compare functions.

Stencil compare functions determine if a new pixel will be drawn.

The initial stencil compare function is STENCIL_ALWAYS.

local StencilFunction

Defines the supported stencil compare functions.

Stencil compare functions determine if a new pixel will be drawn.

The initial stencil compare function is STENCIL_ALWAYS.

enum StencilOperation

Defines the supported stencil operations to perform.

Stencil operations determine what should happen to the pixel if the stencil test fails, passes, or passes but fails the depth test.

The initial stencil operation is STENCIL_OP_KEEP.

var StencilOperation

Defines the supported stencil operations to perform.

Stencil operations determine what should happen to the pixel if the stencil test fails, passes, or passes but fails the depth test.

The initial stencil operation is STENCIL_OP_KEEP.

local StencilOperation

Defines the supported stencil operations to perform.

Stencil operations determine what should happen to the pixel if the stencil test fails, passes, or passes but fails the depth test.

The initial stencil operation is STENCIL_OP_KEEP.