Class VertexLayoutDefinition
Inheritance
System.Object
VertexLayoutDefinition
Assembly: Aximo.Render.dll
Syntax
public class VertexLayoutDefinition
Constructors
|
Improve this Doc
View Source
VertexLayoutDefinition()
Declaration
public VertexLayoutDefinition()
Properties
|
Improve this Doc
View Source
Attributes
Declaration
public ReadOnlyCollection<VertexLayoutDefinitionAttribute> Attributes { get; }
Property Value
|
Improve this Doc
View Source
Stride
Declaration
public int Stride { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
AddAttribute(VertexLayoutDefinitionAttribute)
Declaration
protected virtual void AddAttribute(VertexLayoutDefinitionAttribute attr)
Parameters
|
Improve this Doc
View Source
AddAttribute(Type, String, Boolean)
Declaration
public virtual VertexLayoutDefinitionAttribute AddAttribute(Type type, string name, bool normalized = false)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.String |
name |
|
System.Boolean |
normalized |
|
Returns
|
Improve this Doc
View Source
AddAttribute(Type, String, Int32, Boolean)
Declaration
public virtual VertexLayoutDefinitionAttribute AddAttribute(Type type, string name, int size, bool normalized = false)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.String |
name |
|
System.Int32 |
size |
|
System.Boolean |
normalized |
|
Returns
|
Improve this Doc
View Source
AddAttribute<T>(String, Boolean)
Declaration
public virtual VertexLayoutDefinitionAttribute AddAttribute<T>(string name, bool normalized = false)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Boolean |
normalized |
|
Returns
Type Parameters
|
Improve this Doc
View Source
AddAttribute<T>(String, Int32, Boolean)
Declaration
public virtual VertexLayoutDefinitionAttribute AddAttribute<T>(string name, int size, bool normalized = false)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Int32 |
size |
|
System.Boolean |
normalized |
|
Returns
Type Parameters
|
Improve this Doc
View Source
BindToShader(RendererShader)
Declaration
public VertexLayoutBinded BindToShader(RendererShader shader)
Parameters
Returns
|
Improve this Doc
View Source
CreateAttributeInstance()
Declaration
protected virtual VertexLayoutDefinitionAttribute CreateAttributeInstance()
Returns
|
Improve this Doc
View Source
CreateDefinitionFromVertexStruct(Type)
Declaration
public static VertexLayoutDefinition CreateDefinitionFromVertexStruct(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
|
Improve this Doc
View Source
CreateDefinitionFromVertexStruct<T>()
Declaration
public static VertexLayoutDefinition CreateDefinitionFromVertexStruct<T>()
Returns
Type Parameters
|
Improve this Doc
View Source
DumpDebug()
Declaration
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()