diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-11 00:13:18 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-11 00:13:18 +1000 |
commit | 87a47aead498d4f7c360d64efc632bcf1a533751 (patch) | |
tree | 7b39d6abcd6d39d76ecaacc0352ad685783a00c7 /src/ral/ral_impl.h | |
parent | 7bd1560cf2b49018a842fb42cda2c17b347957aa (diff) |
chore: fmt and lint
Diffstat (limited to 'src/ral/ral_impl.h')
-rw-r--r-- | src/ral/ral_impl.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ral/ral_impl.h b/src/ral/ral_impl.h index f5a16d2..8f96bc3 100644 --- a/src/ral/ral_impl.h +++ b/src/ral/ral_impl.h @@ -81,10 +81,12 @@ PUB void GPU_EncodeCopyBufToBuf(); // PUB void GPU_EncodeCopyBufToTex(GPU_CmdEncoder* encoder, BufferHandle src, TextureHandle dst, // u32 x_offset, u32 y_offset, u32 width, u32 height, const void* data); -/** @brief Convenience method for writing data directly into a texture. Staging memory is handled internally. */ -PUB void GPU_WriteTextureRegion(GPU_CmdEncoder* encoder, TextureHandle dst, - u32 x_offset, u32 y_offset, u32 width, u32 height, const void* data); -PUB void GPU_WriteBuffer(GPU_CmdEncoder* encoder, BufferHandle buf, u64 offset, u64 size, const void* data); +/** @brief Convenience method for writing data directly into a texture. Staging memory is handled + * internally. */ +PUB void GPU_WriteTextureRegion(GPU_CmdEncoder* encoder, TextureHandle dst, u32 x_offset, + u32 y_offset, u32 width, u32 height, const void* data); +PUB void GPU_WriteBuffer(GPU_CmdEncoder* encoder, BufferHandle buf, u64 offset, u64 size, + const void* data); PUB void GPU_EncodeDraw(GPU_CmdEncoder* encoder, u64 count); PUB void GPU_EncodeDrawIndexed(GPU_CmdEncoder* encoder, u64 index_count); |