Changeset 40 for trunk/src/gl/gl_enum.cc
- Timestamp:
- 05/28/13 02:11:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_enum.cc
r36 r40 9 9 using namespace nv; 10 10 11 unsigned int clear_state_buffers_to_mask( clear_state::buffers_type type )11 unsigned int nv::clear_state_buffers_to_mask( clear_state::buffers_type type ) 12 12 { 13 13 unsigned int mask = 0; … … 18 18 } 19 19 20 unsigned int depth_state_function_to_enum( depth_test::function_type type )20 unsigned int nv::depth_state_function_to_enum( depth_test::function_type type ) 21 21 { 22 22 switch( type ) … … 34 34 } 35 35 36 unsigned int blending_factor_to_enum( blending::factor type )36 unsigned int nv::blending_factor_to_enum( blending::factor type ) 37 37 { 38 38 switch( type ) … … 57 57 } 58 58 59 unsigned int blending_equation_to_enum( blending::equation type )59 unsigned int nv::blending_equation_to_enum( blending::equation type ) 60 60 { 61 61 switch( type ) … … 70 70 } 71 71 72 unsigned int culling_face_type_to_enum( culling::face_type type )72 unsigned int nv::culling_face_type_to_enum( culling::face_type type ) 73 73 { 74 74 switch( type ) … … 81 81 } 82 82 83 unsigned int culling_order_type_to_enum( culling::order_type type )83 unsigned int nv::culling_order_type_to_enum( culling::order_type type ) 84 84 { 85 85 switch( type ) … … 91 91 } 92 92 93 unsigned int stencil_function_to_enum( stencil_test_face::function_type type )93 unsigned int nv::stencil_function_to_enum( stencil_test_face::function_type type ) 94 94 { 95 95 switch( type ) … … 107 107 } 108 108 109 unsigned int stencil_operation_to_enum( stencil_test_face::operation type )109 unsigned int nv::stencil_operation_to_enum( stencil_test_face::operation type ) 110 110 { 111 111 switch( type ) … … 123 123 } 124 124 125 unsigned int type_to_gl_enum( type type )125 unsigned int nv::type_to_gl_enum( type type ) 126 126 { 127 127 switch( type ) … … 142 142 } 143 143 144 nv::type gl_enum_to_type( unsigned int gl_enum )144 nv::type nv::gl_enum_to_type( unsigned int gl_enum ) 145 145 { 146 146 switch( gl_enum )
Note: See TracChangeset
for help on using the changeset viewer.