Show / Hide Table of Contents

Interface IStorageBuffer

Type independent abstraction for an Shader Storage Buffer Object.

Inherited Members
System.IDisposable.Dispose()
Namespace: Fusee.Engine.Common
Assembly: Fusee.Engine.Common.dll
Syntax
public interface IStorageBuffer : IDisposable

Properties

BindingIndex

The binding index point the SSBO will be bound to. Caution: the binding point should not be hard coded in the shader code!

Declaration
int BindingIndex { get; set; }
Property Value
Type Description
System.Int32

BufferHandle

The handle of the buffer on the GPU.

Declaration
IBufferHandle BufferHandle { get; set; }
Property Value
Type Description
IBufferHandle

Count

Return the number of buffer elements.

Declaration
int Count { get; }
Property Value
Type Description
System.Int32

Size

Return the size in byte for one buffer element.

Declaration
int Size { get; }
Property Value
Type Description
System.Int32
Generated by DocFX
GitHub Repo
Back to top