RenderFactory class
RenderFactory class
RenderFactory creates all resources that represented in rendering pipeline.
The RenderFactory type exposes the following members:
Methods
Method | Description |
---|---|
create_render_texture(self, parameters, targets, width, height) | Create a render target that renders to the texture |
create_render_texture(self, parameters, width, height) | Create a render target contains 1 targets that renders to the texture |
create_texture_unit(self, texture_type) | Create a texture unit that can be accessed by shader. |
create_texture_unit(self) | Create a 2D texture unit that can be accessed by shader. |
create_descriptor_set(self, shader) | Create the descriptor set for specified shader program. |
create_cube_render_texture(self, parameters, width, height) | Create a render target contains 1 cube texture |
create_render_window(self, parameters, handle) | Create a render target that renders to the native window. |
create_vertex_buffer(self, declaration) | Create an IVertexBuffer instance to store polygon’s vertex information. |
create_index_buffer(self) | Create an IIndexBuffer instance to store polygon’s face information. |
create_shader_program(self, shader_source) | Create a ShaderProgram object |
create_pipeline(self, shader, render_state, vertex_declaration, draw_operation) | Create a preconfigured graphics pipeline with preconfigured shader/render state/vertex declaration and draw operations. |
create_uniform_buffer(self, size) | Create a new uniform buffer in GPU side with pre-allocated size. |
See Also
- module
aspose.threed.render
- class
IIndexBuffer
- class
IVertexBuffer
- class
ShaderProgram