|
Blender V5.3
|
#include <mtl_command_buffer.hh>
Public Member Functions | |
| bool | operator== (MTLSamplerBinding const &other) const |
| id< MTLSamplerState > | get_mtl_sampler (MTLContext &ctx) |
Public Attributes | |
| gpu::MTLSamplerState | state = DEFAULT_SAMPLER_STATE |
Definition at line 57 of file mtl_command_buffer.hh.
| id< MTLSamplerState > blender::gpu::MTLSamplerBinding::get_mtl_sampler | ( | MTLContext & | ctx | ) |
Definition at line 922 of file mtl_command_buffer.mm.
References blender::gpu::DEFAULT_SAMPLER_STATE, blender::gpu::MTLContext::get_default_sampler_state(), blender::gpu::MTLContext::get_sampler_from_state(), and state.
Referenced by blender::gpu::MTLComputeState::bind_compute_sampler(), blender::gpu::MTLRenderPassState::bind_fragment_sampler(), and blender::gpu::MTLRenderPassState::bind_vertex_sampler().
|
inline |
Definition at line 60 of file mtl_command_buffer.hh.
References state.
| gpu::MTLSamplerState blender::gpu::MTLSamplerBinding::state = DEFAULT_SAMPLER_STATE |
Definition at line 58 of file mtl_command_buffer.hh.
Referenced by blender::gpu::MTLComputeState::bind_compute_sampler(), blender::gpu::MTLRenderPassState::bind_fragment_sampler(), blender::gpu::MTLRenderPassState::bind_vertex_sampler(), blender::gpu::ensure_texture_bindings(), get_mtl_sampler(), and operator==().