Candide.Graphics.Batcher.AutoBatcherQuads
Type JSONpublic class in Candide.Graphics.Batcher
Type metadata
- Assembly
Romestead - Namespace
Candide.Graphics.Batcher - Base type
System.Object - Hash
B8D9B6FEB988F76DD4345F14BC306E97D938E95C5CA6603537850C87339A9E9F
Relationships
Base type
System.Object
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
ActiveQuadVertices# | private | private System.Int32 ActiveQuadVertices |
BatchedVertices# | protected | protected VertexType[] BatchedVertices |
BatchVertexBuffer# | private | private Microsoft.Xna.Framework.Graphics.VertexBuffer BatchVertexBuffer |
BatchVerticesCount# | private | private System.Int32 BatchVerticesCount |
BoundTextures# | protected | protected Microsoft.Xna.Framework.Graphics.Texture2D[] BoundTextures |
NextTextureIndex# | private | private System.Int32 NextTextureIndex |
ReferenceQuadVertices# | private | private System.Collections.Generic.List<VertexType[]> ReferenceQuadVertices |
Methods
CanApplyTextures
#
protected System.Boolean CanApplyTextures(Microsoft.Xna.Framework.Graphics.Texture2D[] textures, out System.Int32& newTextureBinds)
Method metadata
- Visibilityprotected
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
ABC54C524026C9E0D79117305E85470566C8566EAD4E3DF66B79E6823F0B1F2B - Body hash
C1BC8724022D23F16328629CD448F7B958EE09AD6393E4571C6298A9907E15A6 - IL size69
Referenced calls
Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::IsTextureBound(Microsoft.Xna.Framework.Graphics.Texture2D)
CanPushQuadBatchData
#
protected System.Boolean CanPushQuadBatchData(System.Int32 batchIndex, QuadBatchData data)
Method metadata
- Visibilityprotected
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
CF07BA00A7BD62BA7E9520D26C3539CEA7903551215C1E201A587B64F3D1177D
CopyQuadVerticesToBatch
#
protected System.Void CopyQuadVerticesToBatch(System.Int32 batchindex, System.Int32 primitive_offset, System.Int32 num_primitives)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
7B992686A7B162B92068CDDE62ED39CBB4AB1F3B4A5BFD26C1FDCD0D6A4F0E19 - Body hash
5FA42EE40B9D04A1C10913EB8C68C64CE4E0C1ACAFA0104DD1A7B70FD5D41EE9 - IL size71
Referenced calls
Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::GetVerticesPerQuad(System.Int32)Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::GetQuadVertices()
CustomSubmitSteps
#
protected System.Void CustomSubmitSteps(Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Graphics.Effect effect)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
E13049ADBD2A08617D8796CBB183D04A5EE0D75E9364C3B4762F8FDBDD555220
GetBatchIndex
#
protected System.Int32 GetBatchIndex()
Method metadata
- Visibilityprotected
- Return type
System.Int32 - StaticFalse
- VirtualFalse
- Hash
F502B96E82D1D48B9D3DBF61B16A069CCD3A4F6F8A778EDB7B76E12D211F335B - Body hash
B074F30945A7E99EDED36A289A61EBE840ACFEE4D95972EBF4A3AC436C7E6D7F - IL size7
GetQuadVertices
#
private VertexType[] GetQuadVertices()
Method metadata
- Visibilityprivate
- Return type
VertexType[] - StaticFalse
- VirtualFalse
- Hash
B44B1178141807B348E60A59DFD99AA8A1BC010A7C25DFB7426C9DF8683C17B3 - Body hash
5111E02C47347C41CA746B21E7036CBAE939CF360E151B70B046A17070B3A4D6 - IL size18
Referenced calls
System.Collections.Generic.List<VertexType[]>::get_Item(System.Int32)
GetVertexDeclaration
#
protected Microsoft.Xna.Framework.Graphics.VertexDeclaration GetVertexDeclaration()
Method metadata
- Visibilityprotected
- Return type
Microsoft.Xna.Framework.Graphics.VertexDeclaration - StaticFalse
- VirtualTrue
- Hash
5E318DA23518A7AEFE16F8C676320245A976788BAABEF9F3FF2B62B749D49127
GetVerticesPerQuad
#
protected System.Int32 GetVerticesPerQuad(System.Int32 num_primitives)
Method metadata
- Visibilityprotected
- Return type
System.Int32 - StaticFalse
- VirtualFalse
- Hash
20A218E3136237DDD2D6F6195DD523B8C073C33647C74B2335262C0C21E1C106 - Body hash
2273DC471D5D5A0D15FC14B81C6E607ED77F51F47FE5D3C15283FF2116BA8221 - IL size17
Referenced calls
Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::GetQuadVertices()
IsBatchFull
#
protected System.Boolean IsBatchFull(System.Int32 num_primitives)
Method metadata
- Visibilityprotected
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
652D0D5495137A7B73B3F43B32944D9445450B6DF8C1CD653CF6E48D76398C32 - Body hash
8E83E5DA90EC9DFFA5B514A07F04188DE319761F2A8688FA446C3F27A831E5C8 - IL size28
Referenced calls
Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::GetBatchIndex()Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::GetVerticesPerQuad(System.Int32)
IsTextureBound
#
protected System.Boolean IsTextureBound(Microsoft.Xna.Framework.Graphics.Texture2D texture)
Method metadata
- Visibilityprotected
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
EC4B90337DEA6F8DE98CA414F73A45BD46D9377FD136F1ED0660DBA8679EE583 - Body hash
A80ECE496371E5BDBC4007CAFB94A9ED9F94007936C4E752148123CDA1F09853 - IL size36
PushQuad
#
public System.Boolean PushQuad(Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Graphics.Effect effect, QuadBatchData data, System.Int32 primitive_offset, System.Int32 num_primitives, System.Boolean autoSubmitIfFull)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
EF1501059EB381C19FD646773FC0F6877E19E04C4EE474CA4C3EE8B5C67A0DAB - Body hash
F75961D431141908E71F97424DD21ABC5673D60496B3ACD5882286CADD8E4B30 - IL size92
Referenced calls
Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::IsBatchFull(System.Int32)Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::GetBatchIndex()Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::CanPushQuadBatchData(System.Int32, QuadBatchData)Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::SubmitBatch(Microsoft.Xna.Framework.Graphics.GraphicsDevice, Microsoft.Xna.Framework.Graphics.Effect)Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::CopyQuadVerticesToBatch(System.Int32, System.Int32, System.Int32)Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::PushQuadBatchData(System.Int32, System.Int32, QuadBatchData)Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::GetVerticesPerQuad(System.Int32)
PushQuadBatchData
#
protected System.Void PushQuadBatchData(System.Int32 batchIndex, System.Int32 num_primitives, QuadBatchData data)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
F4EF22F387AF7811E0CC0590E25F0114775887147610FF2D88DA06B5BEE3E716
Reset
#
public System.Void Reset()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
1C25282BEDE6B5F491027A2F269B36628D1B7AB4AFDB68C279EFEBD16097D57A - Body hash
DABDD8B0FE4F159D4C8A801844676AABD1C5827051F43C743029AB96D85AE729 - IL size43
SetActiveReferenceQuadIndex
#
public System.Void SetActiveReferenceQuadIndex(System.Int32 reference_quad_index)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E01EFBB7E9275483B684DE0C8D0C21954B7604CBFA3F26051B687C55946E9D4D - Body hash
2B8FB711B53B61B4471816F70269864387472A9C389B433965B7AED15C2C1759 - IL size27
Referenced calls
System.Collections.Generic.List<VertexType[]>::get_Count()
SetupQuadFunc
#
protected System.Collections.Generic.List<VertexType[]> SetupQuadFunc()
Method metadata
- Visibilityprotected
- Return type
System.Collections.Generic.List<VertexType[]> - StaticFalse
- VirtualTrue
- Hash
7EC11DF1183DC306CCC06996C3A2BC5F326BB4EC5B878AE4F7157099B6A1FF1C
SubmitBatch
#
public System.Void SubmitBatch(Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Graphics.Effect effect)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
6FC0F681411F4BE9783F412EAA442C8E7A9A6D5683E62EBD260BC980E01E204F - Body hash
9C5458F67DF94F2C7D6FC07B7B55BFDB6DC0A0036EC5F4331BFF0AB005714AAA - 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.AutoBatcherQuads<VertexType, QuadBatchData>::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.AutoBatcherQuads<VertexType, QuadBatchData>::Reset()
String literals
BatchedTexture_0BatchedTexture_1BatchedTexture_2BatchedTexture_3BatchedTexture_4BatchedTexture_5BatchedTexture_6BatchedTexture_7BatchedTexture_8BatchedTexture_9BatchedTexture_10BatchedTexture_11BatchedTexture_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 type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
752AAEE84B49572CAF5D9340C44235A1AF50B648A78B65D35E17C758E659E3BB - Body hash
F19D80FF856332D615FA7355C2E8D49DBBE47045619AE3579A13FB6D9F406D45 - IL size114
Referenced calls
Candide.Graphics.Batcher.AutoBatcherQuads<VertexType, QuadBatchData>::IsTextureBound(Microsoft.Xna.Framework.Graphics.Texture2D)