Romestead Assembly Reference

Candide.Graphics.Batcher.AutoBatcherTriangleMesh

Type JSON

public class in Candide.Graphics.Batcher

Methods14
Properties0
Fields5
Events0
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.Graphics.Batcher
  • Base typeSystem.Object
  • Hash2691B035D16D6BEF85B304BB6B58B3C6BD91BC8CEF3301D321718721A0623FBB

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
BatchedVerticesprotectedprotected VertexType[] BatchedVertices
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
  • HashA36FAF0B2D440CB22E4387153A2745B5901D5B82CD4AF2B10079EB528E812A89
  • Body hashA2939922DF64BA5FBE7085A3B9224A1F1A9D292A4924E4EAD344270655A0304E
  • IL size69
Referenced calls
  • Candide.Graphics.Batcher.AutoBatcherTriangleMesh<VertexType, 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, Microsoft.Xna.Framework.Graphics.VertexPositionNormalTexture[] meshdata)

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

CopyMeshDataToBatch

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

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashEA08EAA9AE3BBCBCE5CB70E01FF8A7E9C2FFDB02F44A0621F8C4BE728E62D189
  • Body hashFB2E87F992B2C527067590B791C2BB97E3A941595AE589EA2E859135FDD76A0F
  • IL size31
Referenced calls
  • Candide.Graphics.Batcher.AutoBatcherTriangleMesh<VertexType, BatchData>::CopyMeshData(System.Int32, Microsoft.Xna.Framework.Graphics.VertexPositionNormalTexture[])

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

GetBatchVertexIndex

protected System.Int32 GetBatchVertexIndex()

Method metadata
  • Visibilityprotected
  • Return typeSystem.Int32
  • StaticFalse
  • VirtualFalse
  • Hash72970998F4EA24F25F3F149EB7C797DB2BDAAC9FB5FAB9D48B2C24B5EE1915D7
  • Body hash189A871866D0550F2C0F406A57E303D415A040E5666472A48FE65F12F291FCCD
  • 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)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashAE5DBD0F97E5AFEB1307FEEB2FE24BE28B1A7C1DED345C434CCE06AEF15F3239
  • Body hash62CD3AC0B0C1407CB5D4B7E11280611E6CD782A84F23ED0735052F997427BAF2
  • IL size22
Referenced calls
  • Candide.Graphics.Batcher.AutoBatcherTriangleMesh<VertexType, BatchData>::GetBatchVertexIndex()

IsTextureBound

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

Method metadata
  • Visibilityprotected
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashE30AFEBBF985FBEC9DAC579B3A0B49449607E71465D3EBDBE6FB08840848AB2D
  • Body hashDBBA6CAD123190D7359A08DFD511F6951B1FB1C6E80E07085DF33EAA9430BD18
  • 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
  • Hash1293781163CC0F6E1A6B265D9E815242AE4B4B9FA0AFEDBB262DACBA2805138F
  • Body hash5F5C81925922B27C46C05D62022367D587E8101B11377C9DD828F9F2D439C7FC
  • IL size134
Referenced calls
  • Candide.Graphics.Batcher.ITriangleMeshBatchData::get_mesh()
  • CandideCreator.Shared.Models.IndexedMesh::GetBatchableVertices()
  • Candide.Graphics.Batcher.AutoBatcherTriangleMesh<VertexType, BatchData>::IsBatchFull(System.Int32)
  • Candide.Graphics.Batcher.AutoBatcherTriangleMesh<VertexType, BatchData>::CanPushMeshBatchData(BatchData)
  • Candide.Graphics.Batcher.AutoBatcherTriangleMesh<VertexType, BatchData>::SubmitBatch(Microsoft.Xna.Framework.Graphics.GraphicsDevice, Microsoft.Xna.Framework.Graphics.Effect)
  • Candide.Graphics.Batcher.AutoBatcherTriangleMesh<VertexType, BatchData>::GetBatchVertexIndex()
  • Candide.Graphics.Batcher.AutoBatcherTriangleMesh<VertexType, BatchData>::CopyMeshDataToBatch(System.Int32, Microsoft.Xna.Framework.Graphics.VertexPositionNormalTexture[])
  • Candide.Graphics.Batcher.AutoBatcherTriangleMesh<VertexType, 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
  • HashC1C2ABC97E85129AF43963F7AD58021B132D75EC51D59CA9875E528A82B7D755
  • Body hashDF40539F19C17DEFAEE37F77FA0DD0CB802C0F25FF74BCE9E9851A74C3D4F13A
  • IL size43

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
  • Hash08155F44A662999B2441FB50EF7339F943316D0EF54360B30B4F0D1B37BC96B9
  • Body hashFD5252558657424A11F80F9B520A9C448626A87F8C420472B54F54995AB2F121
  • IL size672
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.AutoBatcherTriangleMesh<VertexType, 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.GraphicsDevice::SetVertexBuffer(Microsoft.Xna.Framework.Graphics.VertexBuffer)
  • 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::DrawPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, System.Int32, System.Int32)
  • EffectPassCollection.Enumerator::MoveNext()
  • System.IDisposable::Dispose()
  • Candide.Graphics.Batcher.AutoBatcherTriangleMesh<VertexType, 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
  • HashBCAC8633D6E71B02FBC8829A82F35BC496D6FC7C78E4467CE24362E771A03147
  • Body hashD06BE66011A42AED6BAA935DF5145BCC298A78478D0E801290E7854BEE80B339
  • IL size114
Referenced calls
  • Candide.Graphics.Batcher.AutoBatcherTriangleMesh<VertexType, BatchData>::IsTextureBound(Microsoft.Xna.Framework.Graphics.Texture2D)