ShaderEnums
from panda3d.core import ShaderEnums
- class ShaderEnums
Bases:
DTOOL_SUPER_BASEProvides scoping for various enum types that are used by both ShaderModule and Shader classes.
Inheritance diagram
- CAtomicCounters = 4294967296
- CBasicShader = 1
- CBitEncoding = 1048576
- CClipDistance = 32768
- CComputeShader = 274877906944
- CCubeMapArray = 67108864
- CCullDistance = 1099511627776
- CDerivativeControl = 2199023255552
- CDouble = 33554432
- CDrawBuffers = 16384
- CDynamicIndexing = 2147483648
- CEnhancedLayouts = 549755813888
- CExtendedArithmetic = 16777216
- CGeometryShader = 262144
- CGeometryShaderInstancing = 134217728
- CImageAtomic = 17179869184
- CImageLoadStore = 8589934592
- CImageQuerySize = 34359738368
- CInstanceId = 65536
- CMultisampleInterpolation = 1073741824
- CNonSquareMatrices = 32
- CNoperspectiveInterpolation = 256
- CPointCoord = 4
- CPrimitiveId = 524288
- CSampleVariables = 536870912
- CSamplerCubeShadow = 4096
- CShadowSamplers = 16
- CStandardDerivatives = 8
- CStorageBuffer = 137438953472
- CTessellationShader = 268435456
- CTextureArray = 512
- CTextureBuffer = 131072
- CTextureGatherAny = 8388608
- CTextureGatherRed = 4194304
- CTextureInteger = 1024
- CTextureLod = 64
- CTextureQueryLevels = 68719476736
- CTextureQueryLod = 2097152
- CTextureQuerySamples = 4398046511104
- CTextureQuerySize = 2048
- CUnifiedModel = 128
- CVertexId = 8192
- CVertexTexture = 2
- C_atomic_counters = 4294967296
- C_basic_shader = 1
- C_bit_encoding = 1048576
- C_clip_distance = 32768
- C_compute_shader = 274877906944
- C_cube_map_array = 67108864
- C_cull_distance = 1099511627776
- C_derivative_control = 2199023255552
- C_double = 33554432
- C_draw_buffers = 16384
- C_dynamic_indexing = 2147483648
- C_enhanced_layouts = 549755813888
- C_extended_arithmetic = 16777216
- C_geometry_shader = 262144
- C_geometry_shader_instancing = 134217728
- C_image_atomic = 17179869184
- C_image_load_store = 8589934592
- C_image_query_size = 34359738368
- C_instance_id = 65536
- C_multisample_interpolation = 1073741824
- C_non_square_matrices = 32
- C_noperspective_interpolation = 256
- C_point_coord = 4
- C_primitive_id = 524288
- C_sample_variables = 536870912
- C_sampler_cube_shadow = 4096
- C_shadow_samplers = 16
- C_standard_derivatives = 8
- C_storage_buffer = 137438953472
- C_tessellation_shader = 268435456
- C_texture_array = 512
- C_texture_buffer = 131072
- C_texture_gather_any = 8388608
- C_texture_gather_red = 4194304
- C_texture_integer = 1024
- C_texture_lod = 64
- C_texture_query_levels = 68719476736
- C_texture_query_lod = 2097152
- C_texture_query_samples = 4398046511104
- C_texture_query_size = 2048
- C_unified_model = 128
- C_vertex_id = 8192
- C_vertex_texture = 2
- DAlphaTest = 262144
- DClipPlanes = 8192
- DColor = 128
- DColorscale = 256
- DFog = 2048
- DFrame = 1
- DLight = 4096
- DMaterial = 512
- DNone = 0
- DProjection = 64
- DRenderMode = 131072
- DScene = 2
- DShaderInputs = 1024
- DState = 524160
- DTexGen = 65536
- DTexMatrix = 16384
- DTexture = 32768
- DTransform = 48
- DVertexData = 8
- DViewTransform = 32
- D_alpha_test = 262144
- D_clip_planes = 8192
- D_color = 128
- D_colorscale = 256
- D_fog = 2048
- D_frame = 1
- D_light = 4096
- D_material = 512
- D_none = 0
- D_projection = 64
- D_render_mode = 131072
- D_scene = 2
- D_shader_inputs = 1024
- D_state = 524160
- D_tex_gen = 65536
- D_tex_matrix = 16384
- D_texture = 32768
- D_transform = 48
- D_vertex_data = 8
- D_view_transform = 32
- SLCg = 1
- SLGLSL = 2
- SLHLSL = 3
- SLNone = 0
- SL_Cg = 1
- SL_GLSL = 2
- SL_HLSL = 3
- SL_none = 0
- SMApiclipToApiview = 28
- SMApiclipToView = 15
- SMApiclipXToView = 23
- SMApiviewToApiclip = 27
- SMApiviewToModel = 26
- SMApiviewToView = 11
- SMApiviewToWorld = 8
- SMApiviewXToView = 19
- SMClipToView = 13
- SMClipXToView = 21
- SMClipplaneX = 2
- SMINVALID = 31
- SMIdentity = 0
- SMMatConstantX = 3
- SMModelToApiview = 25
- SMModelToView = 9
- SMPlaneX = 1
- SMPointAttenuation = 30
- SMVecConstantX = 4
- SMViewToApiclip = 16
- SMViewToApiclipX = 24
- SMViewToApiview = 12
- SMViewToApiviewX = 20
- SMViewToClip = 14
- SMViewToClipX = 22
- SMViewToModel = 10
- SMViewToViewX = 18
- SMViewToWorld = 6
- SMViewXToView = 17
- SMWorldToApiclipLightI = 29
- SMWorldToApiview = 7
- SMWorldToView = 5
- SM_INVALID = 31
- SM_apiclip_to_apiview = 28
- SM_apiclip_to_view = 15
- SM_apiclip_x_to_view = 23
- SM_apiview_to_apiclip = 27
- SM_apiview_to_model = 26
- SM_apiview_to_view = 11
- SM_apiview_to_world = 8
- SM_apiview_x_to_view = 19
- SM_clip_to_view = 13
- SM_clip_x_to_view = 21
- SM_clipplane_x = 2
- SM_identity = 0
- SM_mat_constant_x = 3
- SM_model_to_apiview = 25
- SM_model_to_view = 9
- SM_plane_x = 1
- SM_point_attenuation = 30
- SM_vec_constant_x = 4
- SM_view_to_apiclip = 16
- SM_view_to_apiclip_x = 24
- SM_view_to_apiview = 12
- SM_view_to_apiview_x = 20
- SM_view_to_clip = 14
- SM_view_to_clip_x = 22
- SM_view_to_model = 10
- SM_view_to_view_x = 18
- SM_view_to_world = 6
- SM_view_x_to_view = 17
- SM_world_to_apiclip_light_i = 29
- SM_world_to_apiview = 7
- SM_world_to_view = 5
- class Stage(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum- COMPUTE = 5
- FRAGMENT = 4
- GEOMETRY = 3
- TESS_CONTROL = 1
- TESS_EVALUATION = 2
- VERTEX = 0
- __init__(*args, **kwargs)
