RenderFactory
Overview
RenderFactory is a class in Aspose.3D FOSS for Java.
This class declares 12 methods for RenderFactory objects in Java programs.
Available methods include: createCubeRenderTexture, createDescriptorSet, createIndexBuffer, createPipeline, createRenderTexture, createRenderWindow, createShaderProgram, createTextureUnit, createUniformBuffer, createVertexBuffer.
Public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Methods
| Signature | Description |
|---|---|
createRenderTexture(parameters: RenderParameters, targets: int, width: int, height: int) → IRenderTexture | Calls createRenderTexture(parameters, targets, width, height) on this RenderFactory instance. |
createRenderTexture(parameters: RenderParameters, width: int, height: int) → IRenderTexture | Calls createRenderTexture(parameters, width, height) on this RenderFactory instance. |
createDescriptorSet(shader: ShaderProgram) → IDescriptorSet | Calls createDescriptorSet(shader) on this RenderFactory instance. |
createCubeRenderTexture(parameters: RenderParameters, width: int, height: int) → IRenderTexture | Calls createCubeRenderTexture(parameters, width, height) on this RenderFactory instance. |
createRenderWindow(parameters: RenderParameters, handle: WindowHandle) → IRenderWindow | Calls createRenderWindow(parameters, handle) on this RenderFactory instance. |
createVertexBuffer(declaration: VertexDeclaration) → IVertexBuffer | Calls createVertexBuffer(declaration) on this RenderFactory instance. |
createIndexBuffer() → IIndexBuffer | Calls createIndexBuffer on this RenderFactory instance. |
createTextureUnit(type: TextureType) → ITextureUnit | Calls createTextureUnit(type) on this RenderFactory instance. |
createTextureUnit() → ITextureUnit | Not implemented in the FOSS edition — throws at runtime. |
createShaderProgram(shader: ShaderSource) → ShaderProgram | Calls createShaderProgram(shader) on this RenderFactory instance. |
createPipeline(shader: ShaderProgram, state: RenderState, declaration: VertexDeclaration, drawOperation: DrawOperation) → IPipeline | Calls createPipeline(shader, state, declaration, drawOperation) on this RenderFactory instance. |
createUniformBuffer(size: int) → IBuffer | Calls createUniformBuffer(size) on this RenderFactory instance. |