Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
pgraph
stencilAttrib.I
1
// Filename: stencilAttrib.I
2
// Created by: aignacio (18May06)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
////////////////////////////////////////////////////////////////////
16
// Function: StencilAttrib::get_render_state
17
// Access: Published
18
// Description: Returns render state.
19
////////////////////////////////////////////////////////////////////
20
INLINE
unsigned
int
StencilAttrib::
21
get_render_state
(StencilRenderState render_state_identifier)
const
{
22
return
_stencil_render_states[(int)render_state_identifier];
23
}
StencilAttrib::get_render_state
unsigned int get_render_state(StencilRenderState render_state_identifier) const
Returns render state.
Definition:
stencilAttrib.I:21
Generated on Mon Feb 1 2016 13:44:34 for Panda3D by
1.8.5