Blender V5.3
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
MTLCompareFunction depth_function
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 149 of file mtl_context.hh.

Member Function Documentation

◆ hash()

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

Definition at line 212 of file mtl_context.hh.

◆ operator==()

Member Data Documentation

◆ depth_function

MTLCompareFunction blender::gpu::MTLContextDepthStencilState::depth_function

◆ depth_test_enabled

bool blender::gpu::MTLContextDepthStencilState::depth_test_enabled

◆ depth_write_enable

bool blender::gpu::MTLContextDepthStencilState::depth_write_enable

◆ has_depth_target

bool blender::gpu::MTLContextDepthStencilState::has_depth_target

◆ has_stencil_target

bool blender::gpu::MTLContextDepthStencilState::has_stencil_target

◆ stencil_func

MTLCompareFunction blender::gpu::MTLContextDepthStencilState::stencil_func

◆ 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

◆ stencil_ref

uint blender::gpu::MTLContextDepthStencilState::stencil_ref

◆ stencil_test_enabled

bool blender::gpu::MTLContextDepthStencilState::stencil_test_enabled

◆ stencil_write_mask

uint blender::gpu::MTLContextDepthStencilState::stencil_write_mask

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