Uses of Class
com.aspose.threed.ShaderProgram
-
-
Uses of ShaderProgram in com.aspose.threed
Methods in com.aspose.threed that return ShaderProgram Modifier and Type Method Description ShaderProgram
RenderFactory. createShaderProgram(ShaderSource shaderSource, VertexDeclaration vertexDeclaration)
Create aShaderProgram
object and using the vertex input inVertexDeclaration
's orderShaderProgram
RenderFactory. createShaderProgram(ShaderSource shaderSource, java.util.List<VertexField> inputFields)
Create aShaderProgram
object and using the vertex input inVertexDeclaration
's orderShaderProgram
ShaderSet. getFallback()
Gets the fallback shader when required shader is unavailableShaderProgram
ShaderSet. getLambert()
Gets the shader that used to render the lambert materialShaderProgram
ShaderSet. getPbr()
Gets the shader that used to render the PBR materialShaderProgram
ShaderSet. getPhong()
Gets the shader that used to render the phong materialShaderProgram
ManualEntity. getShader()
Gets the shader used by this object.ShaderProgram
Renderer. getShader()
Gets the shader instance used for rendering the geometry.Methods in com.aspose.threed with parameters of type ShaderProgram Modifier and Type Method Description void
ShaderSet. setFallback(ShaderProgram value)
Sets the fallback shader when required shader is unavailablevoid
ShaderSet. setLambert(ShaderProgram value)
Sets the shader that used to render the lambert materialvoid
ShaderSet. setPbr(ShaderProgram value)
Sets the shader that used to render the PBR materialvoid
ShaderSet. setPhong(ShaderProgram value)
Sets the shader that used to render the phong materialvoid
ManualEntity. setShader(ShaderProgram value)
Gets the shader used by this object.void
Renderer. setShader(ShaderProgram value)
Sets the shader instance used for rendering the geometry.Constructors in com.aspose.threed with parameters of type ShaderProgram Constructor Description ManualEntity(RenderQueueGroupId renderGroup, int priority, RenderState renderState, ShaderProgram shader, IVertexBuffer vertexBuffer, IIndexBuffer indexBuffer, DrawOperation drawOperation)
Constructor ofManualEntity
ManualEntity(RenderState renderState, ShaderProgram shader, IVertexBuffer vertexBuffer, DrawOperation drawOperation)
Constructor ofManualEntity
ManualEntity(RenderState renderState, ShaderProgram shader, IVertexBuffer vertexBuffer, IIndexBuffer indexBuffer, DrawOperation drawOperation)
Constructor ofManualEntity
-