RenderFactory class

RenderFactory class

RenderFactory creates all resources that represented in rendering pipeline.

The RenderFactory type exposes the following members:

Methods

MethodDescription
create_render_textureCreate a render target that renders to the texture
create_render_textureCreate a render target contains 1 targets that renders to the texture
create_texture_unitCreate a texture unit that can be accessed by shader.
create_texture_unitCreate a 2D texture unit that can be accessed by shader.
create_descriptor_setCreate the descriptor set for specified shader program.
create_cube_render_textureCreate a render target contains 1 cube texture
create_render_windowCreate a render target that renders to the native window.
create_vertex_bufferCreate an IVertexBuffer instance to store polygon’s vertex information.
create_index_bufferCreate an IIndexBuffer instance to store polygon’s face information.
create_shader_programCreate a ShaderProgram object
create_pipelineCreate a preconfigured graphics pipeline with preconfigured shader/render state/vertex declaration and draw operations.
create_uniform_bufferCreate a new uniform buffer in GPU side with pre-allocated size.

See Also