61 return pipeline_descriptor_;
69 void set_clip_distances(
const int new_dist_len,
const int old_dist_len);
70 void set_logic_op(
const bool enable);
71 void set_facing(
const bool invert);
74 void set_shadow_bias(
const bool enable);
75 void set_blend(
const GPUBlend value);
81 void mtl_state_init();
82 void mtl_depth_range(
float near,
float far);
85 void mtl_clip_plane_enable(
uint i);
86 void mtl_clip_plane_disable(
uint i);
88 MEM_CXX_CLASS_ALLOC_FUNCS(
"MTLStateManager")
96 id<MTLEvent> mtl_event_ = nil;
106 void wait()
override;
108 MEM_CXX_CLASS_ALLOC_FUNCS(
"MTLFence")
Read Guarded memory(de)allocation.
unsigned long long int uint64_t
void image_unbind_all() override
void texture_unbind(Texture *tex) override
void image_unbind(Texture *tex) override
void force_state() override
void issue_barrier(GPUBarrier barrier_bits) override
void image_bind(Texture *tex, int unit) override
void texture_unpack_row_length_set(uint len) override
MTLRenderPipelineStateDescriptor & get_pipeline_descriptor()
void texture_bind(Texture *tex, GPUSamplerState sampler, int unit) override
void apply_state() override
MTLStateManager(MTLContext *ctx)
void texture_unbind_all() override
CCL_NAMESPACE_BEGIN ccl_device float invert(const float color, const float factor)
ccl_device_inline float2 mask(const MaskType mask, const float2 a)