Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Contains complete description about renderable geometry. This include one (or more) vertex buffer bound to one of vertex streams, type of primitive (such as triangle list, strip, line list, point list etc), and optional index buffer. If VertexData is set to null, nothing will be rendered.

Namespace: Visual3D.Graphics3D
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public class GeometryData
Public Class GeometryData

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
GeometryData()()()()
Initializes a new instance of the GeometryData class
GeometryData(VertexData, IndexData, PrimitiveType)
Initializes a new instance of the GeometryData class
GeometryData(VertexData, IndexData, PrimitiveType, Object)
Initializes a new instance of the GeometryData class
Clone()()()()
HasIndices
HasVertices
IndexCount
IndexData
Contains optional index buffer and specifies start/end indices in it.
IsEmpty
Gets/sets flag indicate that there is no geometry to draw. Will return true in case if there is no vertices in VertexData, or IndexData is non-null but contains zero indices.
IsEmptyOrInvalid
IsTriangleList
LOD
Log
Owner
PrimitiveCount
PrimitiveType
Type of primitives to render (triangle list etc).
ProcessData(String, Boolean, Boolean, Boolean, EventArgs, GeometryData..::..VertexDataProcessor)
NOTE: "restrictIndexSignBit" true for operations that only allow16bit when indices fit in 15 bits (0..32767). d3d9wrapper/GenerateLODLevels fails if pass in 16-bit indices that exceed this range!
Set(VertexData, IndexData, PrimitiveType, Object)
SetEmpty()()()()
Sets the GeometryData to 'empty' state - that is, nothing to be rendered. Equal to setting VertexData to null.
ToString()()()() (Overrides Object..::..ToString()()()().)
VertexData
Contains set of hardware vertex buffers bound to vertex streams, and specify start/end vertices in each and optional frequency multiplifiers. If set to null, nothing will be rendered
VertexDataCount
VertexDeclaration
VertexRenderingCount

Inheritance Hierarchy

System..::..Object
  Visual3D.Graphics3D..::..GeometryData

See Also