C# 클래스 LWisteria.StudiesOfOpenTK.ObjectiveTK.VertexAttribution

頂点属性
파일 보기 프로젝트 열기: aokomoriuta/StudiesOfOpenTK 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Name string
Normalized bool
Offset int
Size int
Type VertexAttribPointerType

공개 메소드들

메소드 설명
VertexAttribution ( string name, VertexAttribPointerType type, int size, int offset, bool normalized = false ) : OpenTK.Graphics.OpenGL

頂点属性を作成する

메소드 상세

VertexAttribution() 공개 메소드

頂点属性を作成する
public VertexAttribution ( string name, VertexAttribPointerType type, int size, int offset, bool normalized = false ) : OpenTK.Graphics.OpenGL
name string 変数名
type VertexAttribPointerType 属性の種類
size int 属性の数
offset int 属性の位置
normalized bool 正規化されているかどうか
리턴 OpenTK.Graphics.OpenGL

프로퍼티 상세

Name 공개적으로 프로퍼티

属性の変数名
public string Name
리턴 string

Normalized 공개적으로 프로퍼티

正規化されているかどうか
public bool Normalized
리턴 bool

Offset 공개적으로 프로퍼티

属性の位置
public int Offset
리턴 int

Size 공개적으로 프로퍼티

属性の数
public int Size
리턴 int

Type 공개적으로 프로퍼티

属性の種類
public VertexAttribPointerType Type
리턴 VertexAttribPointerType