LayoutEntry
One entry of a bind group layout. sample_type, view_dimension, multisampled, format and access apply to texture and storage texture entries.
Constructor
function new(binding:Int, visibility:Int, kind:BindingKind, sampleType:SampleType, viewDimension:ViewDimension, multisampled:Bool, format:Format, access:StorageAccess)Parameter: visibility ShaderStage bits.
Static methods
function hxnRead(input:BytesInput):LayoutEntryReads what the library wrote.
Properties
var binding:Intvar visibility:IntShaderStage bits.
var kind:BindingKindvar sampleType:SampleTypevar viewDimension:ViewDimensionvar multisampled:Boolvar format:Formatvar access:StorageAccessMethods
function hxnWrite(out:BytesBuffer):VoidWrites the fields in order, as the library reads them.