Blender  V2.93
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 38 of file gpu_state_private.hh.

Member Data Documentation

◆ 

struct { ... }

◆ blend

uint32_t blender::gpu::GPUState::blend

eGPUBlend

Definition at line 43 of file gpu_state_private.hh.

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

◆ clip_distances

uint32_t blender::gpu::GPUState::clip_distances

Number of clip distances enabled.

Definition at line 60 of file gpu_state_private.hh.

Referenced by blender::gpu::GLStateManager::force_state(), and blender::gpu::StateManager::StateManager().

◆ culling_test

uint32_t blender::gpu::GPUState::culling_test

eGPUFaceCullTest

Definition at line 45 of file gpu_state_private.hh.

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

◆ data

uint64_t blender::gpu::GPUState::data

Definition at line 66 of file gpu_state_private.hh.

Referenced by blender::gpu::operator==(), and blender::gpu::operator^().

◆ depth_test

uint32_t blender::gpu::GPUState::depth_test

eGPUDepthTest

Definition at line 47 of file gpu_state_private.hh.

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

◆ invert_facing

uint32_t blender::gpu::GPUState::invert_facing

Definition at line 56 of file gpu_state_private.hh.

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

◆ line_smooth

uint32_t blender::gpu::GPUState::line_smooth

Definition at line 63 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 55 of file gpu_state_private.hh.

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

◆ polygon_smooth

uint32_t blender::gpu::GPUState::polygon_smooth

Definition at line 62 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 53 of file gpu_state_private.hh.

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

◆ shadow_bias

uint32_t blender::gpu::GPUState::shadow_bias

Definition at line 57 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 51 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 49 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 41 of file gpu_state_private.hh.

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


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