55 void set_clip_distances(
const int new_dist_len,
const int old_dist_len);
56 void set_logic_op(
const bool enable);
57 void set_facing(
const bool invert);
60 void set_shadow_bias(
const bool enable);
67 void mtl_state_init();
68 void mtl_depth_range(
float near,
float far);
72 MEM_CXX_CLASS_ALLOC_FUNCS(
"MTLStateManager")
Read Guarded memory(de)allocation.
void image_unbind_all() override
void texture_unbind(Texture *tex) override
void image_unbind(Texture *tex) override
void force_state() override
void image_bind(Texture *tex, int unit) override
void texture_bind(Texture *tex, eGPUSamplerState sampler, int unit) override
void texture_unpack_row_length_set(uint len) override
void apply_state() override
MTLStateManager(MTLContext *ctx)
void issue_barrier(eGPUBarrier barrier_bits) override
void texture_unbind_all() override
depth_tx sampler(1, ImageType::FLOAT_2D, "combined_tx") .sampler(2
CCL_NAMESPACE_BEGIN ccl_device float invert(float color, float factor)
ccl_device_inline float4 mask(const int4 &mask, const float4 &a)