TSdlGpuStorageTextureReadWriteBinding
A record specifying parameters related to binding textures in a compute pass.
Definition
Unit: Neslib.Sdl3.Gpu
See Also
Properties
Name | Description |
---|---|
Cycle | True cycles the texture if it is already bound. |
Layer | The layer index to bind. |
MipLevel | The mip level index to bind. |
Texture | The texture to bind. Must have been created with TSdlGpuTextureUsage.ComputeStorageWrite or TSdlGpuTextureUsage.ComputeStorageSimultaneousReadWrite. |
Property Descriptions
Cycle
True cycles the texture if it is already bound.
property Cycle: Boolean read FHandle.cycle write FHandle.cycle
Type: Boolean
Layer
The layer index to bind.
property Layer: Integer read FHandle.layer write FHandle.layer
Type: Integer
MipLevel
The mip level index to bind.
property MipLevel: Integer read FHandle.mip_level write FHandle.mip_level
Type: Integer
Texture
The texture to bind. Must have been created with TSdlGpuTextureUsage.ComputeStorageWrite or TSdlGpuTextureUsage.ComputeStorageSimultaneousReadWrite.
property Texture: TSdlGpuTexture read GetTexture write SetTexture
Type: TSdlGpuTexture