Blender  V3.3
Public Member Functions | Public Attributes | List of all members
blender::gpu::MTLContextDepthStencilState Struct Reference

#include <mtl_context.hh>

Public Member Functions

bool operator== (const MTLContextDepthStencilState &other) const
 
std::size_t hash () const
 

Public Attributes

bool depth_write_enable
 
bool depth_test_enabled
 
float depth_range_near
 
float depth_range_far
 
MTLCompareFunction depth_function
 
float depth_bias
 
float depth_slope_scale
 
bool depth_bias_enabled_for_points
 
bool depth_bias_enabled_for_lines
 
bool depth_bias_enabled_for_tris
 
bool stencil_test_enabled
 
uint stencil_read_mask
 
uint stencil_write_mask
 
uint stencil_ref
 
MTLCompareFunction stencil_func
 
MTLStencilOperation stencil_op_front_stencil_fail
 
MTLStencilOperation stencil_op_front_depth_fail
 
MTLStencilOperation stencil_op_front_depthstencil_pass
 
MTLStencilOperation stencil_op_back_stencil_fail
 
MTLStencilOperation stencil_op_back_depth_fail
 
MTLStencilOperation stencil_op_back_depthstencil_pass
 
bool has_depth_target
 
bool has_stencil_target
 

Detailed Description

Definition at line 143 of file mtl_context.hh.

Member Function Documentation

◆ hash()

std::size_t blender::gpu::MTLContextDepthStencilState::hash ( ) const
inline

Definition at line 213 of file mtl_context.hh.

◆ operator==()

bool blender::gpu::MTLContextDepthStencilState::operator== ( const MTLContextDepthStencilState other) const
inline

Member Data Documentation

◆ depth_bias

float blender::gpu::MTLContextDepthStencilState::depth_bias

Definition at line 151 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ depth_bias_enabled_for_lines

bool blender::gpu::MTLContextDepthStencilState::depth_bias_enabled_for_lines

Definition at line 154 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ depth_bias_enabled_for_points

bool blender::gpu::MTLContextDepthStencilState::depth_bias_enabled_for_points

Definition at line 153 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ depth_bias_enabled_for_tris

bool blender::gpu::MTLContextDepthStencilState::depth_bias_enabled_for_tris

Definition at line 155 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ depth_function

MTLCompareFunction blender::gpu::MTLContextDepthStencilState::depth_function

Definition at line 150 of file mtl_context.hh.

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

◆ depth_range_far

float blender::gpu::MTLContextDepthStencilState::depth_range_far

Definition at line 149 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ depth_range_near

float blender::gpu::MTLContextDepthStencilState::depth_range_near

Definition at line 148 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ depth_slope_scale

float blender::gpu::MTLContextDepthStencilState::depth_slope_scale

Definition at line 152 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ depth_test_enabled

bool blender::gpu::MTLContextDepthStencilState::depth_test_enabled

Definition at line 147 of file mtl_context.hh.

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

◆ depth_write_enable

bool blender::gpu::MTLContextDepthStencilState::depth_write_enable

Definition at line 146 of file mtl_context.hh.

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

◆ has_depth_target

bool blender::gpu::MTLContextDepthStencilState::has_depth_target

Definition at line 174 of file mtl_context.hh.

Referenced by operator==().

◆ has_stencil_target

bool blender::gpu::MTLContextDepthStencilState::has_stencil_target

Definition at line 175 of file mtl_context.hh.

Referenced by operator==().

◆ stencil_func

MTLCompareFunction blender::gpu::MTLContextDepthStencilState::stencil_func

Definition at line 162 of file mtl_context.hh.

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

◆ stencil_op_back_depth_fail

MTLStencilOperation blender::gpu::MTLContextDepthStencilState::stencil_op_back_depth_fail

◆ stencil_op_back_depthstencil_pass

MTLStencilOperation blender::gpu::MTLContextDepthStencilState::stencil_op_back_depthstencil_pass

◆ stencil_op_back_stencil_fail

MTLStencilOperation blender::gpu::MTLContextDepthStencilState::stencil_op_back_stencil_fail

◆ stencil_op_front_depth_fail

MTLStencilOperation blender::gpu::MTLContextDepthStencilState::stencil_op_front_depth_fail

◆ stencil_op_front_depthstencil_pass

MTLStencilOperation blender::gpu::MTLContextDepthStencilState::stencil_op_front_depthstencil_pass

◆ stencil_op_front_stencil_fail

MTLStencilOperation blender::gpu::MTLContextDepthStencilState::stencil_op_front_stencil_fail

◆ stencil_read_mask

uint blender::gpu::MTLContextDepthStencilState::stencil_read_mask

Definition at line 159 of file mtl_context.hh.

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

◆ stencil_ref

uint blender::gpu::MTLContextDepthStencilState::stencil_ref

Definition at line 161 of file mtl_context.hh.

Referenced by blender::gpu::MTLContext::pipeline_state_init().

◆ stencil_test_enabled

bool blender::gpu::MTLContextDepthStencilState::stencil_test_enabled

Definition at line 158 of file mtl_context.hh.

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

◆ stencil_write_mask

uint blender::gpu::MTLContextDepthStencilState::stencil_write_mask

Definition at line 160 of file mtl_context.hh.

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


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