Blender  V3.3
Public Attributes | List of all members
blender::gpu::GPUState Union Reference

#include <gpu_state_private.hh>

Public Attributes

struct {
   uint32_t   write_mask: 13
 
   uint32_t   blend: 4
 
   uint32_t   culling_test: 2
 
   uint32_t   depth_test: 3
 
   uint32_t   stencil_test: 3
 
   uint32_t   stencil_op: 3
 
   uint32_t   provoking_vert: 1
 
   uint32_t   logic_op_xor: 1
 
   uint32_t   invert_facing: 1
 
   uint32_t   shadow_bias: 1
 
   uint32_t   clip_distances: 3
 
   uint32_t   polygon_smooth: 1
 
   uint32_t   line_smooth: 1
 
}; 
 
uint64_t data
 

Detailed Description

Definition at line 23 of file gpu_state_private.hh.

Member Data Documentation

◆ 

struct { ... }

◆ blend

uint32_t blender::gpu::GPUState::blend

eGPUBlend

Definition at line 28 of file gpu_state_private.hh.

Referenced by blender::gpu::StateManager::StateManager().

◆ clip_distances

uint32_t blender::gpu::GPUState::clip_distances

◆ culling_test

uint32_t blender::gpu::GPUState::culling_test

eGPUFaceCullTest

Definition at line 30 of file gpu_state_private.hh.

Referenced by blender::gpu::StateManager::StateManager().

◆ data

uint64_t blender::gpu::GPUState::data

Definition at line 51 of file gpu_state_private.hh.

◆ depth_test

uint32_t blender::gpu::GPUState::depth_test

eGPUDepthTest

Definition at line 32 of file gpu_state_private.hh.

Referenced by blender::gpu::StateManager::StateManager().

◆ invert_facing

uint32_t blender::gpu::GPUState::invert_facing

Definition at line 41 of file gpu_state_private.hh.

Referenced by blender::gpu::StateManager::StateManager().

◆ line_smooth

uint32_t blender::gpu::GPUState::line_smooth

Definition at line 48 of file gpu_state_private.hh.

Referenced by blender::gpu::StateManager::StateManager().

◆ logic_op_xor

uint32_t blender::gpu::GPUState::logic_op_xor

Enable bits.

Definition at line 40 of file gpu_state_private.hh.

Referenced by blender::gpu::StateManager::StateManager().

◆ polygon_smooth

uint32_t blender::gpu::GPUState::polygon_smooth

Definition at line 47 of file gpu_state_private.hh.

Referenced by blender::gpu::StateManager::StateManager().

◆ provoking_vert

uint32_t blender::gpu::GPUState::provoking_vert

eGPUProvokingVertex

Definition at line 38 of file gpu_state_private.hh.

Referenced by blender::gpu::StateManager::StateManager().

◆ shadow_bias

uint32_t blender::gpu::GPUState::shadow_bias

Definition at line 42 of file gpu_state_private.hh.

Referenced by blender::gpu::StateManager::StateManager().

◆ stencil_op

uint32_t blender::gpu::GPUState::stencil_op

eGPUStencilOp

Definition at line 36 of file gpu_state_private.hh.

Referenced by blender::gpu::StateManager::StateManager().

◆ stencil_test

uint32_t blender::gpu::GPUState::stencil_test

eGPUStencilTest

Definition at line 34 of file gpu_state_private.hh.

Referenced by blender::gpu::StateManager::StateManager().

◆ write_mask

uint32_t blender::gpu::GPUState::write_mask

eGPUWriteMask

Definition at line 26 of file gpu_state_private.hh.

Referenced by blender::gpu::StateManager::StateManager().


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