Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
MaskedOcclusionCulling::ScissorRect Struct Reference

#include <MaskedOcclusionCulling.h>

Public Member Functions

 ScissorRect (int minX, int minY, int maxX, int maxY)
 

Public Attributes

int mMinX
 Screen space X coordinate for left side of scissor rect, inclusive and must be a multiple of 32.
 
int mMinY
 Screen space Y coordinate for bottom side of scissor rect, inclusive and must be a multiple of 8.
 
int mMaxX
 Screen space X coordinate for right side of scissor rect, non inclusive and must be a multiple of 32.
 
int mMaxY
 Screen space Y coordinate for top side of scissor rect, non inclusive and must be a multiple of 8.
 

Detailed Description

Used to control scissoring during rasterization. Note that we only provide coarse scissor support. The scissor box x coordinates must be a multiple of 32, and the y coordinates a multiple of 8. Scissoring is mainly meant as a means of enabling binning (sort middle) rasterizers in case application developers want to use that approach for multithreading.


The documentation for this struct was generated from the following file: