Click or drag to resize

BgfxSetComputeImage Method

Sets a texture mip as a compute image.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void SetComputeImage(
	byte stage,
	Texture texture,
	byte mip,
	ComputeBufferAccess access,
	TextureFormat format = TextureFormat.Unknown
)

Parameters

stage
Type: SystemByte
The buffer stage to set.
texture
Type: Internal.SharpBgfxTexture
The texture to set.
mip
Type: SystemByte
The index of the mip level within the texture to set.
access
Type: Internal.SharpBgfxComputeBufferAccess
Access control flags.
format (Optional)
Type: Internal.SharpBgfxTextureFormat
The format of the buffer data.
See Also