Click or drag to resize
Ab4d.SharpEngine logo

RenderingItem Fields

The RenderingItem type exposes the following members.

Fields
 NameDescription
Public fieldAdditionalVertexBuffers When AdditionalVertexBuffers is not null, then the array items that are not null are bind to vertex buffer starting with binding 1. This array does not include the VertexBuffer so that the primary vertex buffer address is included into the same memory block that defines this RenderingItem (the item in the array are defined elsewhere in memory).
Public fieldCustomRenderAction When CustomRenderAction is set, then this action is called when rendering instead of calling vkCmdDrawIndexed.
Public fieldEffectTechnique EffectTechnique
Public fieldFirstIndex FirstIndex
Public fieldFirstInstance FirstInstance
Public fieldFlags Flags
Public fieldIndexBuffer IndexBuffer
Public fieldIndexBufferType IndexBufferType
Public fieldIndexCount Number of triangle indices (or vertexes when there is no IndexBuffer)
Public fieldInstanceCount InstanceCount (should be at least 1)
Public fieldMaterialDescriptorSets MaterialDescriptorSets
Public fieldMaterialIndex MaterialIndex (when bigger or equal to 0, then PushConstant is set to FragmentShader)
Public fieldMatricesDescriptorSets MatricesDescriptorSets
Public fieldMatrixIndex MatrixIndex
Public fieldParentSceneNode ParentSceneNode
Public fieldPrimitiveTopology PrimitiveTopology
Public fieldStateSortValue The state sort value represent an unsigned Int32 number that is a short hash value calculated from the properties of this RenderingItem (usually the value is defined from Effect's Id and effect's technique index) and can be used to sort and group similar RenderingItem. This optimizes optimize Pipeline changes and can improve performance.
Public fieldTag Tag
Public fieldVertexBuffer VertexBuffer
Public fieldVertexBufferDescription VertexBufferDescription
Public fieldVertexCount Number of vertices in the VertexBuffer
Public fieldVertexOffset VertexOffset
Public fieldWorldBoundingBox WorldBoundingBox
Top
See Also