add methods to get buffer pointers
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good

This commit is contained in:
austin 2024-08-28 22:06:53 -04:00
parent f01cf94d6f
commit 2f80a80e3d

View File

@ -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;
}
} }