nicegraf
|
Public Member Functions | |
compute_encoder (ngf_cmd_buffer cmd_buf, const ngf_compute_pass_info &pass_info) | |
compute_encoder (ngf_cmd_buffer cmd_buf) | |
~compute_encoder () | |
compute_encoder (compute_encoder &&other) noexcept | |
compute_encoder & | operator= (compute_encoder &&other) noexcept |
compute_encoder (const compute_encoder &)=delete | |
compute_encoder & | operator= (const compute_encoder &)=delete |
operator ngf_compute_encoder () | |
Wraps a compute encoder with unique ownership semantics.
|
inlineexplicit |
Creates a new compute encoder for the given command buffer. Has the same semantics as ngf_cmd_begin_compute_pass.
cmd_buf | The command buffer to create a new compute encoder for. |
|
inlineexplicit |
Creates a new compute encoder for the given command buffer that doesn't execute any synchronization
cmd_buf | The command buffer to create a new compute encoder for. |
|
inline |
Finishes the wrapped compute pass.
|
inline |
Implicit conversion to ngf_compute_encoder.