add methods to get buffer pointers
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
This commit is contained in:
parent
f01cf94d6f
commit
2f80a80e3d
@ -609,4 +609,28 @@ public class Mesh {
|
|||||||
return this.useElementArray;
|
return this.useElementArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the vertex buffer's pointer
|
||||||
|
* @return The vertex buffer's pointer
|
||||||
|
*/
|
||||||
|
public int getVertexBuffer(){
|
||||||
|
return vertexBuffer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the normal buffer's pointer
|
||||||
|
* @return The normal buffer's pointer
|
||||||
|
*/
|
||||||
|
public int getNormalBuffer(){
|
||||||
|
return normalBuffer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the texture coord buffer's pointer
|
||||||
|
* @return The texture coord buffer's pointer
|
||||||
|
*/
|
||||||
|
public int getTextureCoordBuffer(){
|
||||||
|
return textureCoordBuffer;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user