Method | Description | |
---|---|---|
Bind ( ProgramAttribute attribute, GraphicsBuffer buffer, int offsetInBytes, System.Text.Format format, int stride ) : void | ||
VertexArray ( System.Program program ) : System |
Method | Description | |
---|---|---|
DisposeBase ( ) : void |
Method | Description | |
---|---|---|
AllocateId ( ) : int |
Get the buffer to bind this to. Get the zero-based index of the Channel to bind to. Get the name of the channel to bind to, Get the offset in bytes from the start of the Buffer to the attribute of the first vertex. Get the data format of the attribute. This must be a member of VectorFormats. Get the number of bytes between each attribute value, or 0 to use the size of the Format.
|
|
Lock ( ) : |
public Bind ( ProgramAttribute attribute, GraphicsBuffer buffer, int offsetInBytes, System.Text.Format format, int stride ) : void | ||
attribute | ProgramAttribute | |
buffer | GraphicsBuffer | |
offsetInBytes | int | |
format | System.Text.Format | |
stride | int | |
return | void |
public VertexArray ( System.Program program ) : System | ||
program | System.Program | |
return | System |