Romestead Assembly Reference

Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh

Type JSON

public class in Candide.Graphics.Batcher

Methods20
Properties0
Fields8
Events0
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.Graphics.Batcher
  • Base typeSystem.Object
  • Hash7F7914998FB5E490692C89790956F4646D9735DF690958A0D0ED72C1AD940215

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
BatchedIndicesprotectedprotected System.Int32[] BatchedIndices
BatchedVerticesprotectedprotected DstVertexType[] BatchedVertices
BatchIndexBufferprotectedprotected Microsoft.Xna.Framework.Graphics.IndexBuffer BatchIndexBuffer
BatchIndicesCountprivateprivate System.Int32 BatchIndicesCount
BatchVertexBufferprivateprivate Microsoft.Xna.Framework.Graphics.VertexBuffer BatchVertexBuffer
BatchVerticesCountprivateprivate System.Int32 BatchVerticesCount
BoundTexturesprotectedprotected Microsoft.Xna.Framework.Graphics.Texture2D[] BoundTextures
NextTextureIndexprivateprivate System.Int32 NextTextureIndex

Methods

CanApplyTextures

protected System.Boolean CanApplyTextures(Microsoft.Xna.Framework.Graphics.Texture2D[] textures, out System.Int32& newTextureBinds)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash382AC2F7F1C5B77C7563BE61B59EC3F628235520BE3B0E6D2385FB6B98ABF570
  • Body hash102359850EE18F86814423E27930D5FE4F5D16ED01E5692796299D68F6A01B27
  • IL size69
Referenced calls
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::IsTextureBound(Microsoft.Xna.Framework.Graphics.Texture2D)

CanPushMeshBatchData

protected System.Boolean CanPushMeshBatchData(BatchData data)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualTrue
  • Hash873E8183936035F3392E6DF60BA07A02932DEDC1B8449094173211F178F48F6F

CopyMeshData

protected System.Void CopyMeshData(System.Int32 batchVertexIndex, CandideCreator.Shared.GraphicsModels.VertexTbnTexture[] meshdata)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash22FDB38A8A19294C4570F2BBD5757FC921C041F57E7434075BC8ED65F077D1E1

CopyMeshData

protected System.Void CopyMeshData(System.Int32 batchVertexIndex, CandideCreator.Shared.Models.VertexPositionColorNormal[] meshdata)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash03271435D385329CB9F698235B20B0A5287CF88B5CBFC39A3ABBEAABF933B9F4

CopyMeshData

protected System.Void CopyMeshData(System.Int32 batchVertexIndex, Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture[] meshdata)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashCB8DC77455350E99D5B1079EEEF014EC83C1ACB10E73BD54BFED0C3F339250D0

CopyMeshData

protected System.Void CopyMeshData(System.Int32 batchVertexIndex, Microsoft.Xna.Framework.Graphics.VertexPositionColor[] meshdata)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashB5AD52B5C0D53200431ECB636120B3A58B593C1F5A9377F6151FAAF6165C0AA8

CopyMeshData

protected System.Void CopyMeshData(System.Int32 batchVertexIndex, Microsoft.Xna.Framework.Graphics.VertexPositionNormalTexture[] meshdata)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash24AAB6929118BF645D86D1CE18FFBF62B365944484FD77B96F95A34FAC8C7583

CopyMeshData

protected System.Void CopyMeshData(System.Int32 batchVertexIndex, Microsoft.Xna.Framework.Graphics.VertexPosition[] meshdata)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash74727E0B36261E65095A95BDD50FFE8A8425BDACD40B64E0C84E379CFF4F9B6A

CopyMeshDataToBatch

protected System.Void CopyMeshDataToBatch(System.Int32 batchVertexIndex, System.Int32 batchIndexBufferIndex, CandideCreator.Shared.Models.IndexedMesh mesh)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash9D9B2F58378C245DD3BADE043C8E933CC000938E7D1685DA80CA01F192BA334B
  • Body hash4ECB1BE3961154D75B48A76049CD69A24CC0AF1A5B448F68EF65D39B542E0AAD
  • IL size388
Referenced calls
  • Microsoft.Xna.Framework.Graphics.VertexBuffer::get_VertexCount()
  • Microsoft.Xna.Framework.Graphics.IndexBuffer::get_IndexCount()
  • Microsoft.Xna.Framework.Graphics.VertexBuffer::get_VertexDeclaration()
  • Microsoft.Xna.Framework.Graphics.VertexDeclaration::op_Equality(Microsoft.Xna.Framework.Graphics.VertexDeclaration, Microsoft.Xna.Framework.Graphics.VertexDeclaration)
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::CopyMeshData(System.Int32, Microsoft.Xna.Framework.Graphics.VertexPosition[])
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::CopyMeshData(System.Int32, Microsoft.Xna.Framework.Graphics.VertexPositionColor[])
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::CopyMeshData(System.Int32, CandideCreator.Shared.Models.VertexPositionColorNormal[])
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::CopyMeshData(System.Int32, Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture[])
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::CopyMeshData(System.Int32, Microsoft.Xna.Framework.Graphics.VertexPositionNormalTexture[])
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::CopyMeshData(System.Int32, CandideCreator.Shared.GraphicsModels.VertexTbnTexture[])
  • Microsoft.Xna.Framework.Graphics.IndexBuffer::get_IndexElementSize()

CustomSubmitSteps

protected System.Void CustomSubmitSteps(Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Graphics.Effect effect)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashE13049ADBD2A08617D8796CBB183D04A5EE0D75E9364C3B4762F8FDBDD555220

GetBatchIndexBufferIndex

protected System.Int32 GetBatchIndexBufferIndex()

Method metadata
  • Visibilityprotected
  • Return typeSystem.Int32
  • StaticFalse
  • VirtualFalse
  • Hash93442E328240FFB34A72F388C4871E71DCF1157C3138D4E17C1A4697FF239802
  • Body hash672F9B3AD661114DC652DE41885ACE22313FDD8E45BE85D3B6C5C2A8C2D944FA
  • IL size7

GetBatchVertexIndex

protected System.Int32 GetBatchVertexIndex()

Method metadata
  • Visibilityprotected
  • Return typeSystem.Int32
  • StaticFalse
  • VirtualFalse
  • Hash39DF12E03ED8EF29C14295239CC5CB8268124BAAF8B80B114E759E4AF56D2DF4
  • Body hash9E6B5E26458989495C96046AADDD9BFEAB9635ECE45E113C5F1E23C7B06E40A9
  • IL size7

GetVertexDeclaration

protected Microsoft.Xna.Framework.Graphics.VertexDeclaration GetVertexDeclaration()

Method metadata
  • Visibilityprotected
  • Return typeMicrosoft.Xna.Framework.Graphics.VertexDeclaration
  • StaticFalse
  • VirtualTrue
  • Hash5E318DA23518A7AEFE16F8C676320245A976788BAABEF9F3FF2B62B749D49127

IsBatchFull

protected System.Boolean IsBatchFull(System.Int32 numVertices, System.Int32 numIndices)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash239519DCC4BB1FABE816641AB32B45B4684013E80817E60E8EBE958E51068D4E
  • Body hashAE8EB32F7BEE5062B11D279E7C15C6ABAC60C14DFD45689D52F884720FD14BDE
  • IL size46
Referenced calls
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::GetBatchVertexIndex()
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::GetBatchIndexBufferIndex()

IsTextureBound

protected System.Boolean IsTextureBound(Microsoft.Xna.Framework.Graphics.Texture2D texture)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashC80BB9B171150F8AE7D10A9494B528E090C6EC5DFDF83A88302509936C06A613
  • Body hashCA6A41084F6C2EED2009BAD1E30F1818603B04BA150902FFA93BB98D1895DC01
  • IL size36

PushMesh

public System.Boolean PushMesh(Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Graphics.Effect effect, BatchData data, System.Boolean autoSubmitIfFull)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashA74B0DC7BC8C6BD03F48578155F0D795CBFA24D80015229C6A5E46B630CA91CA
  • Body hashDA482F4DF8228122A90807A1EFD8CFB7EE3E6E708573E126AF78311C6EE25990
  • IL size195
Referenced calls
  • Candide.Graphics.Batcher.ITriangleMeshBatchData::get_mesh()
  • Microsoft.Xna.Framework.Graphics.VertexBuffer::get_VertexCount()
  • Microsoft.Xna.Framework.Graphics.IndexBuffer::get_IndexCount()
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::IsBatchFull(System.Int32, System.Int32)
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::CanPushMeshBatchData(BatchData)
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::SubmitBatch(Microsoft.Xna.Framework.Graphics.GraphicsDevice, Microsoft.Xna.Framework.Graphics.Effect)
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::GetBatchVertexIndex()
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::GetBatchIndexBufferIndex()
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::CopyMeshDataToBatch(System.Int32, System.Int32, CandideCreator.Shared.Models.IndexedMesh)
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::PushMeshBatchData(System.Int32, System.Int32, BatchData)

PushMeshBatchData

protected System.Void PushMeshBatchData(System.Int32 batchIndex, System.Int32 numVertices, BatchData data)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash9B52368D050C9E09DAA9A21DFBE4875CFAB305ECC757DC8D4AD8E9DC7FBFFDE0

Reset

public System.Void Reset()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashEDFBCCECEB974F9C1E928247AE5751DE8773F093988EF0F3F81ED2F40FF477B5
  • Body hash773E09551E50DBD4728F3C5DFBB0E7A64D16198EA4FC288DE5FA6ED3F9A4AC1F
  • IL size50

SubmitBatch

public System.Void SubmitBatch(Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Graphics.Effect effect)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashD388CC806A42315806D8628F663D07E942976000828AAA65DA72C108D6DF4CAA
  • Body hash0E9131B4E2B0B495EB9854875A86F248987654273A9649AEA5BD6E6652D913D7
  • IL size718
Referenced calls
  • Microsoft.Xna.Framework.Graphics.Effect::get_Parameters()
  • Microsoft.Xna.Framework.Graphics.EffectParameterCollection::get_Item(System.String)
  • Microsoft.Xna.Framework.Graphics.EffectParameter::SetValue(Microsoft.Xna.Framework.Graphics.Texture)
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::CustomSubmitSteps(Microsoft.Xna.Framework.Graphics.GraphicsDevice, Microsoft.Xna.Framework.Graphics.Effect)
  • Microsoft.Xna.Framework.Graphics.VertexBuffer::SetData(!!0[], System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Graphics.IndexBuffer::SetData(!!0[], System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::SetVertexBuffer(Microsoft.Xna.Framework.Graphics.VertexBuffer)
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::set_Indices(Microsoft.Xna.Framework.Graphics.IndexBuffer)
  • Microsoft.Xna.Framework.Graphics.Effect::get_CurrentTechnique()
  • Microsoft.Xna.Framework.Graphics.EffectTechnique::get_Passes()
  • Microsoft.Xna.Framework.Graphics.EffectPassCollection::GetEnumerator()
  • EffectPassCollection.Enumerator::get_Current()
  • Microsoft.Xna.Framework.Graphics.EffectPass::Apply()
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_SamplerStates()
  • Microsoft.Xna.Framework.Graphics.SamplerStateCollection::set_Item(System.Int32, Microsoft.Xna.Framework.Graphics.SamplerState)
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::DrawIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, System.Int32, System.Int32, System.Int32)
  • EffectPassCollection.Enumerator::MoveNext()
  • System.IDisposable::Dispose()
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::Reset()
String literals
  • BatchedTexture_0
  • BatchedTexture_1
  • BatchedTexture_2
  • BatchedTexture_3
  • BatchedTexture_4
  • BatchedTexture_5
  • BatchedTexture_6
  • BatchedTexture_7
  • BatchedTexture_8
  • BatchedTexture_9
  • BatchedTexture_10
  • BatchedTexture_11
  • BatchedTexture_12

TryApplyTexture

protected System.Boolean TryApplyTexture(Microsoft.Xna.Framework.Graphics.Texture2D texture, out System.Int32& textureIndex, Microsoft.Xna.Framework.Graphics.Texture2D defaultFallbackTexture)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash3752EAAE8527C1A22398673C655FFF9C87B1828B0EB4EC9C23DBAF49360C8677
  • Body hash384D3A83E2161D02AC87FB20D31B8421D450682F560F61D489F1BEDD9DEC08F9
  • IL size114
Referenced calls
  • Candide.Graphics.Batcher.AutoBatcherIndexedTriangleMesh<SrcVertexType, DstVertexType, BatchData>::IsTextureBound(Microsoft.Xna.Framework.Graphics.Texture2D)