createColorBuffer
Creates a color buffer with the specified dimensions, format, and other parameters.
Return
A newly created ColorBuffer instance with the defined specifications.
Parameters
The width of the color buffer in pixels.
The height of the color buffer in pixels.
The scale factor for DPI adjustments.
The color format of the buffer (e.g., RGB, RGBA).
The color type that defines the data type for each component (e.g., UINT8, FLOAT).
The multisampling configuration for the buffer, default is no multisampling.
The number of mipmap levels to create, default is 1.
The session to which this buffer belongs, default is the currently active session.
Creates a color buffer with the specified dimensions, format, and other parameters.
Return
A newly created ColorBuffer instance with the defined specifications.
Parameters
The width of the color buffer in pixels.
The height of the color buffer in pixels.
The scale factor for DPI adjustments.
The color format of the buffer (e.g., RGB, RGBA).
The color type that defines the data type for each component (e.g., UINT8, FLOAT).
The multisampling configuration for the buffer, default is no multisampling.
The number of mipmap levels to create, default is 1.
The session to which this buffer belongs, default is the currently active session.
Creates a color buffer with the specified dimensions, format, and other parameters.
Return
A newly created ColorBuffer instance with the defined specifications.
Parameters
The width of the color buffer in pixels.
The height of the color buffer in pixels.
The scale factor for DPI adjustments.
The color format of the buffer (e.g., RGB, RGBA).
The color type that defines the data type for each component (e.g., UINT8, FLOAT).
The multisampling configuration for the buffer, default is no multisampling.
The number of mipmap levels to create, default is 1.
The session to which this buffer belongs, default is the currently active session.