Search Results for

    Show / Hide Table of Contents

    Struct DrawCall

    Renderer draw call used for dynamic batching process.

    Inherited Members
    DrawCall
    Assembly: FlaxEngine.dll
    File: Engine/Renderer/DrawCall.h
    Syntax
    public struct DrawCall

    Fields

    ChunkSizeNextLOD

    Declaration
    public float ChunkSizeNextLOD
    Field Value
    float

    ChunksPerSegment

    Declaration
    public float ChunksPerSegment
    Field Value
    float

    CurrentLOD

    Declaration
    public float CurrentLOD
    Field Value
    float

    Custom

    Declaration
    public struct DrawCall::@204::@215 Custom
    Field Value
    struct DrawCall::@204::@215

    Deformable

    Declaration
    public struct DrawCall::@204::@214 Deformable
    Field Value
    struct DrawCall::@204::@214

    Features

    Declaration
    public struct DrawCall::@204::@210 Features
    Field Value
    struct DrawCall::@204::@210

    Geometry

    Declaration
    public struct DrawCall::@202 Geometry
    Field Value
    struct DrawCall::@202

    GeometrySize

    Declaration
    public Float3 GeometrySize
    Field Value
    Float3

    HeightmapUVScaleBias

    Declaration
    public Float4 HeightmapUVScaleBias
    Field Value
    Float4

    IndexBuffer

    The geometry index buffer (cannot be null).

    Declaration
    public GPUBuffer* IndexBuffer
    Field Value
    GPUBuffer

    IndicesCount

    The indices count.

    Declaration
    public int32 IndicesCount
    Field Value
    int32

    IndirectArgsBuffer

    The indirect draw arguments buffer.

    Declaration
    public GPUBuffer* IndirectArgsBuffer
    Field Value
    GPUBuffer

    IndirectArgsOffset

    The indirect draw arguments offset.

    Declaration
    public uint32 IndirectArgsOffset
    Field Value
    uint32

    InstanceCount

    The amount of instances of the geometry to draw. Set to 0 if use indirect draw arguments buffer.

    Declaration
    public int32 InstanceCount
    Field Value
    int32

    Lightmap

    Declaration
    public Lightmap* Lightmap
    Field Value
    Lightmap

    LightmapUVsArea

    Declaration
    public Rectangle LightmapUVsArea
    Field Value
    Rectangle

    LocalMatrix

    Declaration
    public Matrix LocalMatrix
    Field Value
    Matrix

    LODDitherFactor

    Declaration
    public float LODDitherFactor
    Field Value
    float

    Material

    The material to use for rendering.

    Declaration
    public IMaterial* Material
    Field Value
    IMaterial

    MeshMaxZ

    Declaration
    public float MeshMaxZ
    Field Value
    float

    MeshMinZ

    Declaration
    public float MeshMinZ
    Field Value
    float

    Module

    Declaration
    public class ParticleEmitterGraphCPUNode* Module
    Field Value
    class ParticleEmitterGraphCPUNode

    NeighborLOD

    Declaration
    public Float4 NeighborLOD
    Field Value
    Float4

    ObjectPosition

    Object location in the world used for draw calls sorting.

    Declaration
    public Float3 ObjectPosition
    Field Value
    Float3

    ObjectRadius

    Object bounding sphere radius that contains it whole (sphere at ObjectPosition).

    Declaration
    public float ObjectRadius
    Field Value
    float

    OffsetUV

    Declaration
    public Float2 OffsetUV
    Field Value
    Float2

    OrderOffset

    Declaration
    public int32 OrderOffset
    Field Value
    int32

    Particle

    Declaration
    public struct DrawCall::@204::@213 Particle
    Field Value
    struct DrawCall::@204::@213

    ParticleIndex

    Declaration
    public int32 ParticleIndex
    Field Value
    int32

    Particles

    Declaration
    public class ParticleBuffer* Particles
    Field Value
    class ParticleBuffer

    Patch

    Declaration
    public class TerrainPatch* Patch
    Field Value
    class TerrainPatch

    PerInstanceRandom

    The random per-instance value (normalized to range 0-1).

    Declaration
    public float PerInstanceRandom
    Field Value
    float

    Position

    Declaration
    public Float3 Position
    Field Value
    Float3

    PrevWorld

    Declaration
    public Matrix PrevWorld
    Field Value
    Matrix

    Radius

    Declaration
    public float Radius
    Field Value
    float

    Raw

    Declaration
    public byte Raw[96]
    Field Value
    byte

    Ribbon

    Declaration
    public struct DrawCall::@204::@213::@216 Ribbon
    Field Value
    struct DrawCall::@204::@213::@216

    Segment

    Declaration
    public float Segment
    Field Value
    float

    SegmentCount

    Declaration
    public uint32 SegmentCount
    Field Value
    uint32

    Skinning

    Declaration
    public SkinnedMeshDrawData* Skinning
    Field Value
    SkinnedMeshDrawData

    SortKey

    The sorting key for the draw call calculate by RenderList.

    Declaration
    public uint64 SortKey
    Field Value
    uint64

    SplineDeformation

    Declaration
    public GPUBuffer* SplineDeformation
    Field Value
    GPUBuffer

    StartIndex

    The location of the first index read by the GPU from the index buffer.

    Declaration
    public int32 StartIndex
    Field Value
    int32

    Surface

    Declaration
    public struct DrawCall::@204::@211 Surface
    Field Value
    struct DrawCall::@204::@211

    Terrain

    Declaration
    public struct DrawCall::@204::@212 Terrain
    Field Value
    struct DrawCall::@204::@212

    TerrainChunkSizeLOD0

    Declaration
    public float TerrainChunkSizeLOD0
    Field Value
    float

    UVOffsetX

    Declaration
    public float UVOffsetX
    Field Value
    float

    UVOffsetY

    Declaration
    public float UVOffsetY
    Field Value
    float

    UVScaleX

    Declaration
    public float UVScaleX
    Field Value
    float

    UVScaleY

    Declaration
    public float UVScaleY
    Field Value
    float

    UVTilingDistance

    Declaration
    public float UVTilingDistance
    Field Value
    float

    VertexBuffers

    The geometry vertex buffers.

    Declaration
    public GPUBuffer* VertexBuffers[3]
    Field Value
    GPUBuffer

    VertexBuffersOffsets

    The geometry vertex buffers byte offsets.

    Declaration
    public uint32 VertexBuffersOffsets[3]
    Field Value
    uint32

    VolumetricFog

    Declaration
    public struct DrawCall::@204::@213::@217 VolumetricFog
    Field Value
    struct DrawCall::@204::@213::@217

    World

    Object world transformation matrix.

    Declaration
    public Matrix World
    Field Value
    Matrix

    WorldDeterminantSign

    The world matrix determinant sign (used for geometry that is two sided or has inverse scale - needs to flip normal vectors and change triangles culling).

    Declaration
    public float WorldDeterminantSign
    Field Value
    float

    Methods

    DrawCall()

    Zero-init.

    Declaration
    public DrawCall()
    Returns
    FORCE_INLINE

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat