C# 클래스 Glare.Graphics.Rendering.ModelAttribute

A vertex array channel for a ModelPart.
파일 보기 프로젝트 열기: Burton-Radons/Alexandria

공개 프로퍼티들

프로퍼티 타입 설명
Buffer GraphicsBuffer
Channel ModelAttributeChannel
Format System.Text.Format
Index int
Name string
OffsetInBytes int
Stride int

공개 메소드들

메소드 설명
ModelAttribute ( GraphicsBuffer buffer, int offsetInBytes, System.Text.Format format, int stride, ModelAttributeChannel channel, int index ) : System
ModelAttribute ( string name, GraphicsBuffer buffer, int offsetInBytes, System.Text.Format format, int stride, ModelAttributeChannel channel, int index ) : System

비공개 메소드들

메소드 설명
GetName ( ModelAttributeChannel channel, int index ) : string

메소드 상세

ModelAttribute() 공개 메소드

public ModelAttribute ( GraphicsBuffer buffer, int offsetInBytes, System.Text.Format format, int stride, ModelAttributeChannel channel, int index ) : System
buffer GraphicsBuffer
offsetInBytes int
format System.Text.Format
stride int
channel ModelAttributeChannel
index int
리턴 System

ModelAttribute() 공개 메소드

public ModelAttribute ( string name, GraphicsBuffer buffer, int offsetInBytes, System.Text.Format format, int stride, ModelAttributeChannel channel, int index ) : System
name string
buffer GraphicsBuffer
offsetInBytes int
format System.Text.Format
stride int
channel ModelAttributeChannel
index int
리턴 System

프로퍼티 상세

Buffer 공개적으로 프로퍼티

Get the buffer to bind this to.
public GraphicsBuffer Buffer
리턴 GraphicsBuffer

Channel 공개적으로 프로퍼티

Get the ModelAttributeChannel for the ProgramAttribute to bind this to.
public ModelAttributeChannel Channel
리턴 ModelAttributeChannel

Format 공개적으로 프로퍼티

Get the data format of the attribute. This must be a member of VectorFormats.
public Format,System.Text Format
리턴 System.Text.Format

Index 공개적으로 프로퍼티

Get the zero-based index of the Channel to bind to.
public int Index
리턴 int

Name 공개적으로 프로퍼티

Get the name of the channel to bind to.
public string Name
리턴 string

OffsetInBytes 공개적으로 프로퍼티

Get the offset in bytes from the start of the Buffer to the attribute of the first vertex.
public int OffsetInBytes
리턴 int

Stride 공개적으로 프로퍼티

Get the number of bytes between each attribute value, or 0 to use the size of the Format.
public int Stride
리턴 int