C# Класс Fusion.Drivers.Graphics.IndexBuffer

Наследование: System.DisposableBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Create ( GraphicsDevice device, int indices ) : IndexBuffer

Creates buffer from given indices

IndexBuffer ( GraphicsDevice device, int capacity ) : System

Creates an instance of this object.

SetData ( int data ) : void

Copies array data to the index buffer.

SetData ( int data, int offset, int count ) : void

Copies array data to the index buffer.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Immediately releases the unmanaged resources used by this object.

Описание методов

Create() публичный статический Метод

Creates buffer from given indices
public static Create ( GraphicsDevice device, int indices ) : IndexBuffer
device GraphicsDevice
indices int
Результат IndexBuffer

Dispose() защищенный Метод

Immediately releases the unmanaged resources used by this object.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

IndexBuffer() публичный Метод

Creates an instance of this object.
public IndexBuffer ( GraphicsDevice device, int capacity ) : System
device GraphicsDevice
capacity int
Результат System

SetData() публичный Метод

Copies array data to the index buffer.
public SetData ( int data ) : void
data int
Результат void

SetData() публичный Метод

Copies array data to the index buffer.
public SetData ( int data, int offset, int count ) : void
data int
offset int
count int
Результат void