Geometry
Declaration
public class Strawberry.Android.Graphics.Geometry
Inherits: Strawberry.Graphics.Geometry
Type Parameters
| Name | Description |
|---|---|
T |
Constructors
Geometry
void Geometry(IGraphicsContext context, T[] vertices, uint[] indices, GeometryType vbType, GeometryType ibType)
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Strawberry.Graphics.IGraphicsContext |
|
vertices |
T[] |
|
indices |
System.UInt32[] |
|
vbType |
Strawberry.Graphics.GeometryType |
|
ibType |
Strawberry.Graphics.GeometryType |
Properties
GraphicsContext override
IGraphicsContext GraphicsContext { get }
IndicesCout
int IndicesCout { get }
Methods
Render override
void Render()
CleanManaged protected override
void CleanManaged()
UpdateVB override
void UpdateVB(T[] vertices)
Parameters:
| Name | Type | Description |
|---|---|---|
vertices |
T[] |
UpdateIB override
void UpdateIB(uint[] indices)
Parameters:
| Name | Type | Description |
|---|---|---|
indices |
System.UInt32[] |