Skip to content

EntropyCanvas::UploadShaderHandle

Handle for tracking shader upload operations.

#include <ShaderClient.h>

Name
voidwait() const
Wait for operation to complete (blocking).
boolsuccess() const
Check if the operation succeeded.
const AssetId &result() const
Get the result AssetId (valid only if success).
boolisComplete() const
Check if the operation has completed.
const std::string &errorMessage() const
Get error message (if failed).
void_setResult(bool success, const AssetId & id, const std::string & error)
UploadShaderHandle() =default
UploadShaderHandle(uint64_t requestId)
void wait() const

Wait for operation to complete (blocking).

inline bool success() const

Check if the operation succeeded.

inline const AssetId & result() const

Get the result AssetId (valid only if success).

inline bool isComplete() const

Check if the operation has completed.

inline const std::string & errorMessage() const

Get error message (if failed).

void _setResult(
bool success,
const AssetId & id,
const std::string & error
)
UploadShaderHandle() =default
inline explicit UploadShaderHandle(
uint64_t requestId
)

Updated on 2026-01-26 at 17:14:35 -0500